Skip to main content
GET
/
products
List products
curl --request GET \
  --url https://pandabase.io/api/products \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Storefront-Id: <x-storefront-id>'
{
  "ok": true,
  "data": {
    "products": [
      {
        "id": "prod_abc123",
        "name": "Premium Plan",
        "price": 2999,
        "currency": "USD",
        "description": "<string>",
        "images": [
          {
            "id": "<string>",
            "hash": "<string>",
            "path": "<string>",
            "preview_url": "<string>",
            "resolution": "<string>"
          }
        ],
        "categories": [
          "<string>"
        ],
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

V3 API key authentication. Format: sk_v3_xxxxx

Headers

X-Storefront-Id
string
required

Your storefront/shop ID

Query Parameters

page
integer
default:1
page_size
integer
default:10

Response

Products retrieved successfully

ok
boolean
Example:

true

data
object