Skip to main content
GET
cURL

Authorizations

X-Delegated-Token
string
header
required

Headers

X-Tenant-ID
string
required

Unique identifier of the tenant in the system (usually a store identifier)

Query Parameters

query
string

The search query string. See search query language for information how to build the search query. Supported fields are listed here.

limit
integer
default:20

See pagination for more details on how to paginate the results.

Required range: 1 <= x <= 100
after
string

See pagination for more details on how to paginate the results.

Minimum string length: 1
before
string

See pagination for more details on how to paginate the results.

Minimum string length: 1
sort
string
default:createdAt:asc

See sorting for more details on how to sort the results.

includeCanceledItems
boolean
default:false

Whether to include canceled subscriptions in the results.

expand
enum<string>[]

Specify which related resources to include in the response. Currently supports 'paymentMethod'.

Available options:
paymentMethod

Response

200 - application/json

Default Response

resource
enum<string>
required
Available options:
list
hasNextPage
boolean
required
hasPrevPage
boolean
required
endCursor
null | string
required
startCursor
null | string
required
data
Subscription · object[]
required