Subscription represents a contract between a business and a customer.
Subscription object stores information and rules defining the contract between a business and a customer. It is created when a customer purchases a subscription-based product.
| 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 |
subscription Unique serial number that increments sequentially with each new subscription within a store.
1active, paused, canceled, failed, expired, merged Purchase date of the subscription.
Last update date of the subscription.
Cancellation date of the subscription.
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 >= 0The currency that applies to both item prices and delivery price.
31This field is expandable.
The base delivery price associated with the selected delivery method.
x >= 0