Subscription resource
Subscription represents a contract between your business and a customer.
The Subscription
object stores information and rules defining the contract between your business and a customer. It is created when a customer purchases a subscription-based product.
Search query fields
Field | Description | Type |
---|---|---|
id | The subscription identifier | string |
serial | The incremental subscription number | string |
status | The subscription status | string |
createdAt | The date subscription was created | date |
updatedAt | The last date the subscription was updated | date |
nextBillingDate | The upcoming next billing date | date |
canceledAt | The date subscription was cancelled | date |
customer | The customer identifier | string |
Reference
subscription
Unique serial number that increments sequentially with each new subscription within a store.
1
active
, paused
, canceled
, failed
, expired
Purchase date of the subscription.
Last update date of the subscription.
Cancellation date of the subscription.
This field is expandable.
1
The next billing date determines when the renewal process begins its billing phase. When billing succeeds, it creates one order—or multiple orders for prepaid subscriptions.
The subscription's billing cycle count. It starts at 0 (before the first billing is completed), changes to 1 (after one billing is completed), and increases by 1 with each subsequent billing.
x >= 0
This field is expandable.
The currency that applies to both item prices and delivery price.
3
The delivery price for the upcoming renewal.
x >= 0