Get Subscriptions
Changed onRetrieves a paginated list of product subscriptions.
Request
- Base URLhttps://api.sellauth.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"page": 1
}Response
Example response
{
"current_page": 1,
"data": [
{
"id": 1,
"shop_id": 1,
"customer_id": 1,
"product_id": 1,
"variant_id": 1,
"product_name": "License Keys",
"variant_name": "Standard",
"initial_invoice_id": 1,
"open_renewal_invoice_id": null,
"gateway": null,
"renewal_method": "manual",
"payment_method_id": null,
"status": "active",
"interval": "month",
"interval_count": 1,
"trial_days": 0,
"trial_ends_at": null,
"quantity": 1,
"currency": "USD",
"recurring_price": "14.99",
"recurring_price_usd": null,
"renewal_delivery": "redeliver",
"current_period_start": null,
"current_period_end": null,
"cycles_completed": 0,
"cancel_at_period_end": false,
"cancelled_at": null,
"expired_at": null,
"cancellation_reason": null,
"external_id": null,
"external_customer_id": null,
"last_renewal_reminder_at": null,
"failed_payment_count": 0,
"suspended_at": null,
"metadata": null,
"created_at": "2026-11-01T20:00:51.000000Z",
"updated_at": "2026-11-01T20:00:51.000000Z",
"deleted_at": null,
"customer": {
"id": 1,
"email": "customer@sellauth.test"
},
"product": {
"id": 1,
"name": "License Keys"
},
"variant": {
"id": 1,
"name": "Standard"
}
}
],
"first_page_url": "http://api.sellauth.test/v1/shops/1/subscriptions?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://api.sellauth.test/v1/shops/1/subscriptions?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "http://api.sellauth.test/v1/shops/1/subscriptions?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "http://api.sellauth.test/v1/shops/1/subscriptions",
"per_page": 25,
"prev_page_url": null,
"to": 1,
"total": 1
}Changes
- breaking
request property
/was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
//became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
the request property
became nullable - info
added the new
activeenum value to the request property/ - info
added the new
cancelledenum value to the request property/ - info
added the new
dayenum value to the request property/ - info
added the new
expiredenum value to the request property/ - info
added the new
monthenum value to the request property/ - info
added the new
past_dueenum value to the request property/ - info
added the new
pendingenum value to the request property/ - info
added the new
trialingenum value to the request property/ - info
added the new
weekenum value to the request property/ - info
added the new
yearenum value to the request property/ - info
added the optional property
//to the response with the status
- breaking
- warning
removed the optional property
///from the response with the status
- warning