Brand
Subscriptions
List Subscription Items

List Subscription Items For An Order

Return the items associated with the subscription tied to a given order.

Overview

  • Method: GET
  • Path: /brand/subscriptions/list-subscription-items/<orderId>
  • Tags: brand

Parameters

orderId (path)

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

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "subscriptionItems": "string",
  "variant_id": "string",
  "quantity": 123,
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}

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/list-subscription-items/<orderId> \
  -H "Content-Type: application/json" \