Get subscription options
Returns choices for managing subscriptions, such as the cancellation reasons set in your subscription settings. Secret and trusted tokens may call it; a limited token may not (403).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
The subscription options.
application/json- response
Choices to show when a subscription is managed, such as the cancellation reasons set in your subscription settings.
account_id*stringThe account.
test*booleantrue when read with a test token.
cancellation_reasons*array<string>The cancellation reasons from your subscription settings. Send one as cancellation_reason when you cancel. Empty when none are set.
curl -X GET 'https://api.comecero.com/api/v1/subscriptions/options'{ "account_id": "AB1234", "test": true, "cancellation_reasons": [ "Too expensive", "No longer needed", "Switching to another product" ]}List subscriptions GET
Lists the subscriptions in your account, oldest first by `date_type` (default `date_created`). The list is cursor-based: use `next_page_url` or `after_item` to page forward. Secret and trusted tokens may call it. A limited token may not (`403`); a signed-in customer reads their own with `GET /customers/{customer_id}/subscriptions`.
Get a subscription GET
Returns one subscription with its items. Secret and trusted tokens may call it. A limited token may read a subscription of the customer it is signed in as; some fields are then left out (see the object).