Pandabase
Storefront APIsCategories

Get category

GET
/stores/{storeId}/categories/{categoryId}

Returns category details including subcategories and up to 50 active products.

Path Parameters

storeId*string

Store ID (shp_ prefix)

categoryId*string

Category ID (ctg_ prefix)

Response Body

application/json

application/json

curl -X GET "https://example.com/stores/string/categories/string"
{  "ok": true,  "data": {    "id": "string",    "name": "string",    "slug": "string",    "description": "string",    "icon": "string",    "parentId": "string",    "displayOrder": 0,    "featured": true,    "metaTitle": "string",    "metaDescription": "string",    "showInNavigation": true,    "children": [      {        "id": "string",        "name": "string",        "slug": "string"      }    ],    "products": [      {        "id": "string",        "title": "string",        "handle": "string",        "price": 0,        "images": [          "string"        ],        "inStock": true      }    ]  }}

Last updated on