List categories

Returns a paginated list of categories. Supports filtering by featured status and parent category.

GET https://api.pandabase.io/v2/storefront/stores/{storeId}/categories

Path parameters

storeId string required

Store ID (shp_ prefix)

Query parameters

page integer default: 1

(range 1–∞, defaults to 1)

limit integer default: 25

(range 1–100, defaults to 25)

featured boolean

Filter by featured status

parentId string

Filter by parent category ID (for subcategories)

Response 200

Paginated list of categories

ok boolean required

No description.

data object required

No description.

Response 404

Error response

ok boolean required

No description.

error string required

Error message

Request
curl -X GET https://api.pandabase.io/v2/storefront/stores/:storeId/categories
Response
{  "ok": true,  "data": {    "items": [      {        "id": "string",        "name": "string",        "slug": "string",        "description": "string",        "icon": "string",        "parentId": "string",        "displayOrder": 0,        "featured": true      }    ],    "pagination": {      "page": 0,      "limit": 0,      "total": 0,      "totalPages": 0    }  }}