Pandabase
Store APIsProducts

List products

GET
/stores/{storeId}/products/

Returns a list of products on the store. Soft-deleted products are excluded. 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

Query Parameters

page?integer
Range1 <= value
Default1
limit?integer
Range1 <= value <= 100
Default25
search?string
Lengthlength <= 128
productType?||
status?|
pricingModel?|||
inStock?boolean
categoryId?string
Length12 <= length <= 48
sortBy?|||
sortOrder?|

Header Parameters

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

Response Body

application/json

application/json

curl -X GET "https://example.com/stores/stringstring/products/"
{  "ok": true,  "data": {    "items": [      {        "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": []      }    ],    "pagination": {      "page": 1,      "limit": 25,      "total": 1,      "totalPages": 1    }  }}

Last updated on