List customer subscriptions
curl --request GET \
--url https://provider.api.nadles.com/v0/customers/{customerId}/subscriptions/ \
--header 'nadles-provider-key: <api-key>'{
"data": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"vendor_id": "<string>",
"product_id": "<string>",
"customer_id": "<string>",
"order_id": "<string>",
"state": "<string>",
"psp_name": "<string>",
"billing_version": 123,
"is_cancelation_scheduled": true,
"items": [
{}
],
"activated_at": "2023-11-07T05:31:56Z",
"expired_at": "2023-11-07T05:31:56Z",
"cancellation_scheduled_at": "2023-11-07T05:31:56Z",
"canceled_at": "2023-11-07T05:31:56Z",
"past_due_at": "2023-11-07T05:31:56Z"
}
],
"metadata": {
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
}API Reference
List customer subscriptions
GET
/
customers
/
{customerId}
/
subscriptions
List customer subscriptions
curl --request GET \
--url https://provider.api.nadles.com/v0/customers/{customerId}/subscriptions/ \
--header 'nadles-provider-key: <api-key>'{
"data": [
{
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"vendor_id": "<string>",
"product_id": "<string>",
"customer_id": "<string>",
"order_id": "<string>",
"state": "<string>",
"psp_name": "<string>",
"billing_version": 123,
"is_cancelation_scheduled": true,
"items": [
{}
],
"activated_at": "2023-11-07T05:31:56Z",
"expired_at": "2023-11-07T05:31:56Z",
"cancellation_scheduled_at": "2023-11-07T05:31:56Z",
"canceled_at": "2023-11-07T05:31:56Z",
"past_due_at": "2023-11-07T05:31:56Z"
}
],
"metadata": {
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
}Authorizations
API key provided in the admin portal
Path Parameters
The ID of the customer.
Query Parameters
Maximum number of items to return
Number of items to skip before starting to collect the result set
Filter subscriptions by state
⌘I