Access Plan
For loop type lifter_access_plan
, here are the query parameters and fields.
Query parameters
can_expire
- Determine if the access plan has expiration settings, true/false
Type: booleanhas_membership
- If plan is associate to a membership, true/false
Type: booleanhas_restrictions
- Determine if the plan has availability restrictions, true/false
Type: booleanhas_trial
- Determine if the plan has a trial offer, true/false
Type: booleanis_available_to_user
- Determine if the plan is available to a user based on configured availability restrictions, true/false
Type: booleanis_featured
- Determine if the plan is marked as "featured", true/false
Type: booleanis_free
- Determines if a plan is marked as free, true/false
Type: booleanis_on_sale
- Determine if a plan is *currently* on sale, true/false
Type: booleanis_recurring
- Determine if the Access Plan has recurring payments, true/false
Type: booleanis_visible
- Determine if the plan is visible, true/false
Type: booleanproduct
- Product ID or "current" for current product where the plan is assigned. Both Courses and Memberships are sellable and can be instantiated as a product
Type: string
Fields
access_expiration
- Access expirationcheckout_url
- Return the url to the checkout page for a given planenroll_text
- Return the enroll text of a given planexpiration_details
- A sentence explaining plan expiration detailsfrequency
- Return the frequecy of a given planhas_availability_restrictions
- If the plan has availability restrictionshas_free_checkout
- If the free checkout process & interface should be used for this access planhas_trial
- If the plan has a trial offeris_available_to_user
- If the plan is available to a user based on configured availability restrictionsis_featured
- If the plan is marked as "featured"is_on_sale
- If the plan is *currently* on sale, string "true"/"false"is_recurring
- If the plan has recurring paymentsis_visible
- If the plan is visibleprice
- Return the price of a given plan (with the currency)price_number
- Return the price of a given planprice_sale
- Return the price on sale of a given planproduct_id
- Product ID where the plan is assigned. Both Courses and Memberships are sellable and can be instantiated as a productsale_end
- Date when the sale pricing endssale_start
- Date when the sale pricing beginsschedule_details
- A sentence explaining the plan's trial offersku
- User-created plan identifiervisibility
- Get the access plans visibility setting