Get Customer Subscriptions
Return subscriptions for the authenticated customer including shipping, billing, and latest order info.
Overview
- Method: GET
- Path:
/brand/subscriptions/get-customer-subscriptions - Tags: brand
Parameters
No parameters required.
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"subscriptions": "string",
"state": "string",
"productName": "string",
"variantTitle": "string",
"frequency": "string",
"totalFulfillments": 123,
"currentFulfillmentIndex": 123,
"remainingRefills": 123,
"nextShipmentDate": "string",
"subscriptionEndDate": "string",
"latestOrderId": "string",
"createdAt": "string",
"updatedAt": "string",
"stripeSubscriptionId": "string",
"shippingAddress": "string",
"first_name": "string",
"last_name": "string",
"address_1": "string",
"address_2": "string",
"city": "string",
"country_code": "string",
"province": "string",
"postal_code": "string",
"phone": "string"
}400
Bad Request
Content Type: application/json
{}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
https://api.pillexa.com/brand/subscriptions/get-customer-subscriptions \
-H "Content-Type: application/json" \