Skip to main content
GET
Get Subscriptions

Authorizations

Authorization
string
header
required

You can retrieve your API key from your dashboard under Account > Developers.

Path Parameters

shopId
integer
required

The ID of the shop.

Body

application/json
status
enum<string>
Available options:
pending,
trialing,
active,
past_due,
cancelled,
expired
Example:

null

product_id
integer

Filter by product ID.

Example:

null

customer_id
integer

Filter by customer ID.

Example:

null

perPage
integer

Items per page, 1-100.

Example:

null

Response

200 - application/json
current_page
integer
Example:

1

data
object[]
Example:
first_page_url
string
Example:

"http://api.sellauth.test/v1/shops/1/subscriptions?page=1"

from
integer
Example:

1

last_page
integer
Example:

1

last_page_url
string
Example:

"http://api.sellauth.test/v1/shops/1/subscriptions?page=1"

Example:
next_page_url
string
Example:

null

path
string
Example:

"http://api.sellauth.test/v1/shops/1/subscriptions"

per_page
integer
Example:

25

prev_page_url
string
Example:

null

to
integer
Example:

1

total
integer
Example:

1