Customers
List customer subscriptions
Lists all subscriptions for a customer.
get/api/v1/customers/{customerIdOrKey}/subscriptions
Path parameters
Example:01G65Z755AFWAKHE12NY0CQ9FH
Query parameters
statusSubscriptionStatus[]
order'ASC' | 'DESC'
The order direction.
The order direction.
orderBy'activeFrom' | 'activeTo'
Order by options for customer subscriptions.
The order by field.
pageinteger
Page index.
Default is 1.
pageSizeinteger
The maximum number of items per page.
Default is 100.
Response
The request has succeeded.
Example response
{
"totalCount": 500,
"page": 1,
"pageSize": 100,
"items": [
{
"id": "01G65Z755AFWAKHE12NY0CQ9FH",
"metadata": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"createdAt": "2024-01-01T01:01:01.001Z",
"updatedAt": "2024-01-01T01:01:01.001Z",
"deletedAt": "2024-01-01T01:01:01.001Z",
"activeFrom": "2023-01-01T01:01:01.001Z",
"activeTo": "2023-01-01T01:01:01.001Z",
"annotations": {
"externalId": "019142cc-a016-796a-8113-1a942fecd26d"
},
"customerId": "01G65Z755AFWAKHE12NY0CQ9FH",
"plan": {
"id": "01G65Z755AFWAKHE12NY0CQ9FH"
},
"currency": "USD",
"billingCadence": "P1M",
"billingAnchor": "2023-01-01T01:01:01.001Z"
}
]
}