Rental intent
Getting a rental intent token.
To fetch a rental intent token, you will need the ID of the option that you are wanting to create a rental for, the option ID’s can be found under the configuration metafield of the product
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
.
Path Parameters
The Shopify proxy path prefix configured for the app (e.g., 'customer_portal')
Body
Shopify ID of the variant to create a rental intent for
Response
Number of available items for the variant
Shopify selling plan ID (present for Calendar and Subscription)
Shopify variant ID for deposit (present for Subscription)
Credit cost for membership rentals (present for Membership)