Skip to main content
The _cycle line item property is a JSON-encoded object holding everything Supercycle needs to create a cycle from a line item when the order is placed. A line item without a _cycle property isn’t processed by Supercycle.
The _cycle format can change between releases. Integrations and automations should build on Shopify Flow rather than parse this property.

How it works

1

Fetch the property

When a customer selects a method option, the Intent endpoint returns the _cycle property. The Methods app block does this for you. A custom storefront calls the endpoint directly.
2

Submit it with the cart line

The properties[_cycle] value goes into the add-to-cart request as a hidden input or a form data field.
3

Create the cycle

When the order is created, Supercycle reads the _cycle property and creates a cycle for that line item.

Examples


Schema

object
required
How Supercycle selects an inventory item to assign to the cycle.
object
Optional objects applied to the cycle after it’s created. Only the relevant keys are present.
string
The method. One of "subscription", "membership", "calendar", or "resale".
date
The requested rental start date. Present for the subscription and calendar methods.
date
The requested rental end date. Present for the calendar and membership methods.
string
The minimum rental duration. Present for the subscription method.