Skip to Content
API ReferenceSubscriptions

Read subscriptions

List, search, and retrieve canonical subscription records.

These responses include the canonical nested customer plus provider_subscription_id and provider_customer_id. The older subscription_id and customer_id provider fields remain available but are deprecated.

Lists are returned oldest first, ordered by ID. Subscriptions the store bills in house report internal as their provider and have no provider identifiers. Retrieve a subscription by the SellApp subscription record ID in productSubscription, the same identifier the lifecycle action endpoints take. A subscription belonging to another store returns 404.

GET
/v2/subscriptions

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

limit?integer

Number of items to return per page.

Range1 <= value <= 100
Default15
page?integer

Page number to return.

Range1 <= value
Default1
pagination?boolean

Set to false to return at most 100 matching items in one data array without pagination links or metadata.

Defaulttrue
status[]?array<>

Filter by one or more subscription statuses. Repeat the parameter to select several; a single status=ACTIVE works too. A status outside the list is rejected with a validation error.

order_id?integer

Keep subscriptions sold by this order.

Range1 <= value
product_id?integer

Keep subscriptions whose plan is a variant of this product, including subscriptions moved to that plan after signup.

Range1 <= value
renews_after?string

Keep subscriptions that renew on or after this moment. Only ACTIVE and TRIALING subscriptions with a renewal date that are neither paused nor scheduled to cancel match a renewal filter. A date such as 2026-11-01 starts at midnight of that day in the store's time zone; a date-time without an offset is also read in the store's time zone. Inclusive.

Lengthlength <= 64
renews_before?string

Keep subscriptions that renew on or before this moment, with the same rules as renews_after. A date runs to the last second of that day in the store's time zone. Inclusive. Must not be earlier than renews_after.

Lengthlength <= 64
cancelled_after?string

Keep CANCELED subscriptions cancelled on or after this moment. The cancellation time is when an immediate cancellation happened; for a subscription that ran out at its period end it is approximate, the last time the subscription record changed. Dates are read like renews_after. Inclusive.

Lengthlength <= 64
cancelled_before?string

Keep CANCELED subscriptions cancelled on or before this moment, with the same rules as cancelled_after. A date runs to the last second of that day in the store's time zone. Inclusive. Must not be earlier than cancelled_after.

Lengthlength <= 64
scheduled_to_cancel?boolean

true keeps ACTIVE and TRIALING subscriptions set to cancel at the end of their period; false keeps subscriptions that are not set to.

paused?boolean

true keeps paused subscriptions; false keeps subscriptions that are not paused.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X GET 'https://sell.app/api/v2/subscriptions' \  -H 'X-STORE: launch-lab'
{  "data": [    {      "id": 123,      "invoice_id": 456,      "provider": "stripe",      "subscription_id": "sub_1QwertyExample",      "customer_id": "cus_Example123",      "provider_subscription_id": "sub_1QwertyExample",      "provider_customer_id": "cus_Example123",      "customer": {        "id": 314,        "email": "maya.chen@example.com",        "external_id": "crm_314",        "name": "Maya Chen",        "locale": "en-GB",        "metadata": {}      },      "customer_email": "maya.chen@example.com",      "status": "ACTIVE",      "current_period_start": "2026-03-01T00:00:00.000000Z",      "current_period_end": "2026-04-01T00:00:00.000000Z",      "trial_ends_at": null,      "cancel_at_period_end": true,      "cancellation_in_progress": false,      "store_id": 1,      "product_variant_id": 99,      "current_plan_variant_id": 99,      "auto_renew": false,      "paused_at": null,      "pause_resumes_at": null,      "canceled_immediately_at": null,      "payment_method_updated_at": "2026-03-15T09:30:00.000000Z",      "last_customer_action_at": "2026-03-23T00:00:00.000000Z",      "created_at": "2026-03-01T00:00:00.000000Z",      "updated_at": "2026-03-23T00:00:00.000000Z"    },    {      "id": 124,      "invoice_id": 457,      "provider": "internal",      "subscription_id": null,      "customer_id": null,      "provider_subscription_id": null,      "provider_customer_id": null,      "customer": {        "id": 315,        "email": "noah.bennett@example.com",        "external_id": null,        "name": null,        "locale": null,        "metadata": {}      },      "customer_email": "noah.bennett@example.com",      "status": "PAST_DUE",      "current_period_start": "2026-03-05T00:00:00.000000Z",      "current_period_end": "2026-04-05T00:00:00.000000Z",      "trial_ends_at": null,      "cancel_at_period_end": false,      "cancellation_in_progress": false,      "store_id": 1,      "product_variant_id": 99,      "current_plan_variant_id": 101,      "auto_renew": true,      "paused_at": null,      "pause_resumes_at": null,      "canceled_immediately_at": null,      "payment_method_updated_at": null,      "last_customer_action_at": "2026-03-20T10:15:00.000000Z",      "created_at": "2026-02-05T00:00:00.000000Z",      "updated_at": "2026-04-05T00:05:00.000000Z"    },    {      "id": 125,      "invoice_id": 458,      "provider": "stripe",      "subscription_id": "sub_1TrialExample",      "customer_id": "cus_TrialExample",      "provider_subscription_id": "sub_1TrialExample",      "provider_customer_id": "cus_TrialExample",      "customer": {        "id": 316,        "email": "sofia.rivera@example.com",        "external_id": null,        "name": "Sofia Rivera",        "locale": null,        "metadata": {}      },      "customer_email": "sofia.rivera@example.com",      "status": "TRIALING",      "current_period_start": "2026-03-28T00:00:00.000000Z",      "current_period_end": "2026-04-04T00:00:00.000000Z",      "trial_ends_at": "2026-04-04T00:00:00.000000Z",      "cancel_at_period_end": false,      "cancellation_in_progress": false,      "store_id": 1,      "product_variant_id": 99,      "current_plan_variant_id": 99,      "auto_renew": false,      "paused_at": null,      "pause_resumes_at": null,      "canceled_immediately_at": null,      "payment_method_updated_at": null,      "last_customer_action_at": null,      "created_at": "2026-03-28T00:00:00.000000Z",      "updated_at": "2026-03-28T00:00:00.000000Z"    }  ],  "links": {    "first": "https://sell.app/api/v2/subscriptions?page=1",    "last": "https://sell.app/api/v2/subscriptions?page=1",    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "from": 1,    "last_page": 1,    "path": "https://sell.app/api/v2/subscriptions",    "per_page": 15,    "to": 3,    "total": 3,    "links": [      {        "url": null,        "label": "&laquo; Previous",        "active": false      },      {        "url": "https://sell.app/api/v2/subscriptions?page=1",        "label": "1",        "active": true      },      {        "url": null,        "label": "Next &raquo;",        "active": false      }    ]  }}
POST
/v2/subscriptions/search

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Query Parameters

limit?integer

Number of items to return per page.

Range1 <= value <= 100
Default15
page?integer

Page number to return.

Range1 <= value
Default1
pagination?boolean

Set to false to return at most 100 matching items in one data array without pagination links or metadata.

Defaulttrue

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
filters?array<|>
sort?array<>
search?
includes?array<>
order_id?|

Keep subscriptions sold by this order.

Range1 <= value
product_id?|

Keep subscriptions whose plan is a variant of this product, including subscriptions moved to that plan after signup.

Range1 <= value
renews_after?|

Keep subscriptions that renew on or after this moment. Only ACTIVE and TRIALING subscriptions with a renewal date that are neither paused nor scheduled to cancel match a renewal filter. A date such as 2026-11-01 starts at midnight of that day in the store's time zone; a date-time without an offset is also read in the store's time zone. Inclusive.

Lengthlength <= 64
renews_before?|

Keep subscriptions that renew on or before this moment, with the same rules as renews_after. A date runs to the last second of that day in the store's time zone. Inclusive. Must not be earlier than renews_after.

Lengthlength <= 64
cancelled_after?|

Keep CANCELED subscriptions cancelled on or after this moment. The cancellation time is when an immediate cancellation happened; for a subscription that ran out at its period end it is approximate, the last time the subscription record changed. Dates are read like renews_after. Inclusive.

Lengthlength <= 64
cancelled_before?|

Keep CANCELED subscriptions cancelled on or before this moment, with the same rules as cancelled_after. A date runs to the last second of that day in the store's time zone. Inclusive. Must not be earlier than cancelled_after.

Lengthlength <= 64
scheduled_to_cancel?|

true keeps ACTIVE and TRIALING subscriptions set to cancel at the end of their period; false keeps subscriptions that are not set to.

paused?|

true keeps paused subscriptions; false keeps subscriptions that are not paused.

Response Body

Successful response.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X POST 'https://sell.app/api/v2/subscriptions/search' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "search": {    "value": "maya.chen@example.com"  },  "filters": [    {      "field": "status",      "operator": "=",      "value": "ACTIVE"    }  ]}'
{  "data": [    {      "id": 123,      "invoice_id": 456,      "provider": "stripe",      "subscription_id": "sub_1QwertyExample",      "customer_id": "cus_Example123",      "provider_subscription_id": "sub_1QwertyExample",      "provider_customer_id": "cus_Example123",      "customer": {        "id": 314,        "email": "maya.chen@example.com",        "external_id": "crm_314",        "name": "Maya Chen",        "locale": "en-GB",        "metadata": {}      },      "customer_email": "maya.chen@example.com",      "status": "ACTIVE",      "current_period_start": "2026-03-01T00:00:00.000000Z",      "current_period_end": "2026-04-01T00:00:00.000000Z",      "trial_ends_at": null,      "cancel_at_period_end": true,      "cancellation_in_progress": false,      "store_id": 1,      "product_variant_id": 99,      "current_plan_variant_id": 99,      "auto_renew": false,      "paused_at": null,      "pause_resumes_at": null,      "canceled_immediately_at": null,      "payment_method_updated_at": "2026-03-15T09:30:00.000000Z",      "last_customer_action_at": "2026-03-23T00:00:00.000000Z",      "created_at": "2026-03-01T00:00:00.000000Z",      "updated_at": "2026-03-23T00:00:00.000000Z"    }  ],  "links": {    "first": "https://sell.app/api/v2/subscriptions/search?page=1",    "last": "https://sell.app/api/v2/subscriptions/search?page=1",    "prev": null,    "next": null  },  "meta": {    "current_page": 1,    "from": 1,    "last_page": 1,    "path": "https://sell.app/api/v2/subscriptions/search",    "per_page": 15,    "to": 1,    "total": 1,    "links": [      {        "url": null,        "label": "&laquo; Previous",        "active": false      },      {        "url": "https://sell.app/api/v2/subscriptions/search?page=1",        "label": "1",        "active": true      },      {        "url": null,        "label": "Next &raquo;",        "active": false      }    ]  }}
GET
/v2/subscriptions/{productSubscription}

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

productSubscription*integer

The productSubscription path parameter.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
data*
Example Request
curl -X GET 'https://sell.app/api/v2/subscriptions/123' \  -H 'X-STORE: launch-lab'
{  "data": {    "id": 123,    "invoice_id": 456,    "provider": "stripe",    "subscription_id": "sub_1QwertyExample",    "customer_id": "cus_Example123",    "provider_subscription_id": "sub_1QwertyExample",    "provider_customer_id": "cus_Example123",    "customer": {      "id": 314,      "email": "maya.chen@example.com",      "external_id": "crm_314",      "name": "Maya Chen",      "locale": "en-GB",      "metadata": {}    },    "customer_email": "maya.chen@example.com",    "status": "ACTIVE",    "current_period_start": "2026-03-01T00:00:00.000000Z",    "current_period_end": "2026-04-01T00:00:00.000000Z",    "trial_ends_at": null,    "cancel_at_period_end": true,    "cancellation_in_progress": false,    "store_id": 1,    "product_variant_id": 99,    "current_plan_variant_id": 99,    "auto_renew": false,    "paused_at": null,    "pause_resumes_at": null,    "canceled_immediately_at": null,    "payment_method_updated_at": "2026-03-15T09:30:00.000000Z",    "last_customer_action_at": "2026-03-23T00:00:00.000000Z",    "created_at": "2026-03-01T00:00:00.000000Z",    "updated_at": "2026-03-23T00:00:00.000000Z"  }}