Skip to main content
GET
/
products
/
{id}
Get a product
curl --request GET \
  --url https://pandabase.io/api/products/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Storefront-Id: <x-storefront-id>'
{
  "ok": true,
  "data": {
    "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

Path Parameters

id
string
required

Response

Product retrieved successfully

ok
boolean
Example:

true

data
object