Query Subscriptions

Return a paginated list of matching subscriptions.

SecurityMarketplace Api Key | Merchant Secret Token | Admin JWT | Marketplace JWT | Merchant JWT
Request
query Parameters
limit
integer <int32>

Maximum results per page. Default to 20, must be between 1 and 500.

page
integer <int32>

Page number of results to show (starting at page 1).

sort
string

Comma-delimited list of fields to sort by with sort priority from first to last. Fields are sorted by their natural ordering unless prefixed with a - character.

state
Array of strings (SubscriptionState)

The state of the subscription

Items Enum: "created" "active" "inactive" "paused" "cancelled" "charging"
subscriptionId
Array of strings

The subscription IDs

merchantId
Array of strings

The merchant that owns the subscription. Defaults to your own merchantId

customerId
Array of strings

The customer that the subscription was created with

referenceCustomerId
Array of strings

The internal customer reference ID set on the subscription

orderId
Array of strings

The merchant order used to create the subscription

Responses
200

Matching items sorted as specified

400
401
403
404
405
406
409
422
429
500
503
get/subscriptions
Request samples
Response samples
application/json
[
  • {
    }
]
Copyright © April Solutions 2023. All right reserved.