Brand
Subscriptions
Get Subscription Orders

Get Subscription Orders

GET endpoint for /brand/subscriptions/get-subscription-orders in brand category

Overview

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

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "orders": {
      "type": "string"
    },
    "display_id": {
      "type": "number"
    },
    "status": {
      "type": "string"
    },
    "total": {
      "type": "number"
    },
    "subtotal": {
      "type": "number"
    },
    "tax_total": {
      "type": "number"
    },
    "shipping_total": {
      "type": "number"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "items": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "quantity": {
      "type": "number"
    },
    "unit_price": {
      "type": "number"
    },
    "variant": {
      "type": "string"
    },
    "product": {
      "type": "string"
    }
  },
  "required": [
    "orders",
    "display_id",
    "status",
    "total",
    "subtotal",
    "tax_total",
    "shipping_total",
    "created_at",
    "updated_at",
    "items",
    "title",
    "quantity",
    "unit_price",
    "total",
    "variant",
    "title",
    "product",
    "title"
  ]
}

400

Bad Request

Content Type: application/json

{
  "type": "object",
  "properties": {
    "error": {
      "type": "string"
    },
    "details": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  },
  "required": [
    "error",
    "details"
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X GET \
  http://localhost:9000/brand/subscriptions/get-subscription-orders \
  -H "Content-Type: application/json" \
  

Interactive Testing

You can test this endpoint interactively in the Swagger UI (opens in a new tab).