GET /v1/customers/{customerId}/subscriptions
GET
/v1/customers/{customerId}/subscriptionsAuthorization
x-api-keyAPI key · headerrequiredor
AuthorizationBearer token · headerrequiredPath parameters
customerIdstringrequiredmin length 1
Query parameters
environmentstringAllowed:
sandboxproductionmerchantAccountIdstringmin length 1
limitstringmatches ^[+-]?(?:\d+(?:\.\d+)?|\.\d+)(?:[Ee][+-]?\d+)?$
cursorstringmin length 1
Responses
200
Success
dataobjectrequiredShow propertiesHide properties
itemsobject[]requiredShow propertiesHide properties
Array of
objectsubscriptionobjectrequiredShow propertiesHide properties
subscriptionIdstringrequiredmin length 1
customerIdstringrequiredmin length 1
billingAccountIdstringrequiredmin length 1
statusstringrequiredAllowed:
draftpendingincompleteincomplete_expiredtrialingactivepast_duepausedcanceledcollectionModestringrequiredAllowed:
manualautomaticmetadataobjectrequiredcreatedAtstringrequiredmin length 1
currentPeriodStartAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcurrentPeriodEndAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltrialEndAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcancelAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullcanceledAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullendedAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nulltestClockIdstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullitemsobject[]requiredShow propertiesHide properties
Array of
objectsubscriptionItemIdstringrequiredmin length 1
subscriptionIdstringrequiredmin length 1
priceIdstringrequiredmin length 1
quantitynumberrequiredstartAtstringrequiredmin length 1
metadataobjectrequiredendAtstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullhasMorebooleanrequirednextCursorstring | nullShow propertiesHide properties
Any of:
string
stringnull
nullrequestIdstringrequiredmin length 1