Pandabase
Store APIsProducts

Get product

GET
/stores/{storeId}/products/{productId}

Retrieves a product by ID. Requires the PRODUCTS_READ scope.

Authorization

AuthorizationBearer <token>

Bearer token authentication. Pass the secret directly in the Authorization header. Token secrets start with sk_.

In: header

Path Parameters

storeId*string
Length12 <= length <= 48
productId*string
Length12 <= length <= 48

Header Parameters

idempotency-key?string
Length8 <= length <= 32

Response Body

application/json

application/json

curl -X GET "https://example.com/stores/stringstring/products/stringstring"
{  "ok": true,  "data": {    "id": "prd_8h4t6sqzy3x9w5n2k1m0vqbf",    "title": "Pro Plan",    "subtitle": "Everything you need to ship",    "description": "Full access to the platform. Unlimited stores, no transaction caps.",    "handle": "pro-plan",    "price": 2900,    "compareAtPrice": 4900,    "images": [      "https://cdn.pandabase.io/products/img_xxx.jpg"    ],    "inStock": true,    "currency": "USD",    "productType": "DIGITAL",    "fulfillmentMode": "LICENSE_POOL",    "pricingModel": "STANDARD",    "status": "ACTIVE",    "minimumPrice": null,    "maxPerCustomer": null,    "availableFrom": null,    "availableUntil": null,    "revokeOnRefund": true,    "options": [],    "variants": [],    "categories": []  }}

Last updated on