List subscriptions
GET/subscriptions/subscriptions
Retrieves a list of all subscriptions.
Filtering
This endpoint supports filtering. For the general syntax, see Filtering.
The following attributes and operators are supported.
Operator | Attribute | Description |
---|---|---|
eq | account_id , name , email , external_ref | Equals. Checks if the values of two operands are equal. If they are, the condition is true. |
Including Resources
You can use the include
parameter to include the following resources with this endpoint.
Resource | Required | Description |
---|---|---|
plans, products | Optional | Retrieves all plans and products associated with a subscription. |
products | Optional | Retrieves all products associated with a subscription. |
plans | Optional | Retrieves all plans associated with a subscription. |
See Characteristics of Include Parameter.
Request
Responses
- 200
- 400
- 500
Success. A list of subscriptions is returned.
Bad request. The request failed validation.
Internal server error. There was a system failure in the platform.