The order subscription unique identifier
The order subscription endpoint URL
Unique identifier for the subscription (numeric)
The subscription status. One of 'draft' (default), 'inactive', 'active', or 'cancelled'.
The frequency of the subscription. Use one of the supported within 'hourly', 'daily', 'weekly', 'monthly', 'two-month', 'three-month', 'four-month', 'six-month', 'yearly', or provide your custom crontab expression (min unit is hour). Must be supported by existing associated subscription_model.
Indicates if the subscription will be activated considering the placed source order as its first run.
The email address of the customer, if any, associated to the source order.
The activation date/time of this subscription.
The expiration date/time of this subscription (must be after starts_at).
The date/time of the subscription next run. Can be updated but only in the future, to copy with frequency changes.
The number of times this subscription has run.
Indicates the number of subscription errors, if any.
Indicates if the subscription has succeeded on its last run.
The subscription options used to create the order (check order_factories for more information). For subscriptions the
place_target_order is enabled by default, specify custom options to overwrite it.
Send this attribute if you want to mark this subscription as active.
Send this attribute if you want to mark this subscription as inactive.
Send this attribute if you want to mark this subscription as cancelled.
Time at which the resource was created.
Time at which the resource was last updated.
A string that you can use to add any external identifier to the resource. This can be useful for integrating the resource to an external system, like an ERP, a marketing tool, a CRM, or whatever.
Any identifier of the third party system that defines the reference code
Set of key-value pairs that you can attach to the resource. This can be useful for storing additional information about the resource in a structured format.
The associated market, inherited from the source order if not specified.
The subscription model associated to the market.
The source order which generated the subscription.
The subscription customer.
The associated customer_payment_source.
The associated order subscription items.
The associated order factories.
The associated order copies.
The associated recurring_order copies.
The associated copied orders.
The resource environment (can be one of