Subscription
List subscriptions
List the subscriptions associated with the current user.
get/subscription
Response
List of subscriptions.
Example response
{
"data": [
{
"id": "sub_XXXXXXXXXXXXXXXXXXXXXXXXX",
"productVariantID": "var_XXXXXXXXXXXXXXXXXXXXXXXXX",
"price": 2200,
"quantity": 1,
"addressID": "shp_XXXXXXXXXXXXXXXXXXXXXXXXX",
"cardID": "crd_XXXXXXXXXXXXXXXXXXXXXXXXX",
"schedule": {
"type": "weekly",
"interval": 3
},
"next": "2025-02-01T19:36:19.000Z",
"created": "2024-06-29T19:36:19.000Z"
}
]
}