List Subscriptions
List all the subscriptions created on the current shop
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The name of the store to perform actions on via the API
If pagination is desired, the page to fetch of the response
Specify the type(s) of subscriptions to be returned
Guide to Query Params
The GET /subscriptions
endpoint returns both legacy and 2.0 subscriptions when called without any parameters. The endpoint supports the following query parameters:
- The version query parameter allows you to filter subscriptions by version. The possible versions are
v1
andv2
.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The name of the store to perform actions on via the API
Query Parameters
If pagination is desired, the page to fetch of the response
Specify the type(s) of subscriptions to be returned
v1
, v2
Response
ID of the legacy subscription
ID of product subscription for subscriptions 2.0
The shop ID to which this subscription belongs
ID of the product subscription
ID of the subscriptions 2.0 active product plan
ID of the store's customer
The subscription version
v1
, v2
Timestamp for the creation of the subscription
When this subscription was last updated
Subscription status
PENDING
, CANCELED
, TRIALING
, ACTIVE
Gateway chosen for this subscription. A new invoice monthly will be created using this gayeway
PAYPAL
, STRIPE
, SKRILL
, PERFECT_MONEY
, CASH_APP
, BINANCE
, BITCOIN
, LITECOIN
, ETHEREUM
, BITCOIN_CASH
, NANO
, MONERO
, SOLANA
, RIPPLE
, BINANCE_COIN
, USDC
, USDT
, TRON
, BITCOIN_LN
, CONCORDIUM
, POLYGON
, PEPE
, DAI
, WETH
, APE
, SHIB
, USDC_NATIVE
, DOGECOIN
, PYTH
, BONK
, JUP
, JITO
, WEN
, RENDER
, MOBILE
, HNT
Origin of the subscription
STOREFRONT
, PAYMENT_LINK
, CHECKOUT
The custom fields passed by the user at checkout. The type is map<string, string>
If a coupon has been applied, its ID
When the current billing period will end
Whether or not the email for an upcoming renewal has been sent
Whether or not the email for the trial period expiring has been sent
If true, the renewal invoice has already been created
The ID of the payment link used to pay the initial payment for this subscription
Details about the subscription status
PAYMENT_FAILED
, CART_PARTIAL_OUT_OF_STOCK
When this subscription was canceled
ID of the customer created on STRIPE
ID of the Stripe connected account
ID of the Stripe subscription
The ID of the PayPal account used to complete the subscription payments
The ID of the PayPal subscription
Digital Software
The title of the product plan for this subscription (only for type: v2)
The cloudflare image ID of this product, replaces image_attachment and image_name. Format https://imagedelivery.net/95QNzrEeP7RU5l5WdbyrKw/<cloudflare_image_id>/<variant_name> where variant_name can be shopItem, avatar, icon, imageAvatarFeedback, public, productImageCart
Customer name
Customer surname
Customer phone
Customer phone country code
Customer country code
Customer street address
Customer street address additional info
Customer city
Customer postal code
Customer state
Customer email
Was this page helpful?