Brand
Subscriptions
Get Subscription Orders

Get Subscription Orders

Fetch all orders associated with a subscription for the authenticated customer.

Overview

  • Method: GET
  • Path: /brand/subscriptions/get-subscription-orders/<id>
  • Tags: brand

Parameters

id (path)

  • Type: string
  • Required: Yes
  • Description: id parameter

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "orders": "string",
  "display_id": 123,
  "status": "string",
  "total": 123,
  "subtotal": 123,
  "tax_total": 123,
  "shipping_total": 123,
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z",
  "items": "string",
  "title": "string",
  "quantity": 123,
  "unit_price": 123,
  "variant": "string",
  "product": "string"
}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  https://api.pillexa.com/brand/subscriptions/get-subscription-orders/<id> \
  -H "Content-Type: application/json" \