Skip to main content
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

FieldDescriptionType
idThe subscription identifierstring
serialThe incremental subscription numberstring
statusThe subscription statusstring
createdAtThe date subscription was createddate
updatedAtThe last date the subscription was updateddate
nextBillingDateThe upcoming next billing datedate
canceledAtThe date subscription was cancelleddate
customerThe customer identifierstring

Reference

id
string<uuid>
required
resource
enum<string>
required
Available options:
subscription
serial
string
required
Minimum length: 1
status
enum<string>
required
Available options:
active,
paused,
canceled,
failed,
expired,
merged
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
canceledAt
string<date-time> | null
required
customer
required
Minimum length: 1
nextBillingDate
string<date-time> | null
required
currentCycle
integer
required
Required range: x >= 0
items
SubscriptionItem · object[]
required
Minimum length: 1
discounts
SubscriptionDiscount · object[]
required
paymentMethod
required
currencyCode
string
required
Required string length: 3
deliveryAddress
object | null
required
deliveryMethod
object | null
required
deliveryPrice
number
required
Required range: x >= 0