Brand
Cart
Get Primary Product

Get Primary Product

GET endpoint for /brand/cart/get-primary-product in brand category

Overview

  • Method: GET
  • Path: /brand/cart/get-primary-product
  • Tags: brand

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "type": "object",
  "properties": {
    "product": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "handle": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "variants": {
      "type": "string"
    },
    "sku": {
      "type": "string"
    },
    "price": {
      "type": "number"
    },
    "inventory_quantity": {
      "type": "number"
    }
  },
  "required": [
    "product",
    "title",
    "handle",
    "status",
    "created_at",
    "updated_at",
    "variants",
    "title",
    "price",
    "inventory_quantity"
  ]
}

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/cart/get-primary-product \
  -H "Content-Type: application/json" \
  

Interactive Testing

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