Getting a rental intent token.
product.metafields.supercycle.subscription_configuration
product.metafields.supercycle.membership_configuration
product.metafields.supercycle.calendar_configuration
Here is what the calendar_configuration
metafield looks like, each rental period option will have a global_id
.
The Shopify proxy path prefix configured for the app (e.g., 'customer_portal')
Successful response with rental intent token details
Number of available items for the variant
Shopify selling plan ID (present for Calendar and Subscription). This will need to be added to the product form as a hidden property using an input such as <input name="selling_plan" type="hidden" value="SELLING_PLAN_ID">
Shopify variant ID for deposit (present for Subscription)
Credit cost for membership rentals (present for Membership)