Skip to main content
GET
Batch get subscriptions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

store
string
required
Example:

"01G65Z755AFWAKHE12NY0CQ9FH"

plan
string
required

The subscription plan identifier. Use - to retrieve subscriptions across plans in the store.

Example:

"-"

Query Parameters

names
string[]
required

Subscriptions to retrieve, each given by its resource name (stores/{store}/subscription-plans/{plan}/subscriptions/{subscription}) or its globally unique identifier. Repeat the parameter for each subscription, up to 100. Every subscription must belong to the store in the path and, unless the path uses subscription-plans/-, to the selected subscription plan.

Required array length: 1 - 100 elements
Minimum string length: 1
Example:

Response

200 - application/json

Successfully fetched subscriptions.

subscriptions
object[]
required

The requested subscriptions, in the same order as the names query parameters