Brand
Cart
List Available Products

List Available Products

Retrieve all products available for a given cart. Includes each product’s details such as title, description, handle, status, timestamps, and their variants with SKU, price, and inventory information.

Overview

  • Method: GET
  • Path: /brand/cart/list-available-products
  • Tags: brand

Use Cases

  • Display all products that a customer can add to their cart.
  • Access detailed variant information for pricing, inventory checks, or selection purposes.
  • Support product selection workflows in checkout or promotional flows.
  • Enable dynamic product listing based on the current cart context.

Parameters

No parameters required.

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "products": "string",
  "title": "string",
  "description": "string",
  "handle": "string",
  "status": "string",
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z",
  "variants": "string",
  "sku": "string",
  "price": 123,
  "inventory_quantity": 123
}

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/cart/list-available-products \
  -H "Content-Type: application/json" \