Skip to main content
POST
/
stores
/
{storeId}
/
categories
cURL
curl --request POST \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/categories/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "slug": "<string>",
  "description": "<string>",
  "parentId": "<string>",
  "displayOrder": 0,
  "icon": "<string>",
  "metaTitle": "<string>",
  "metaDescription": "<string>",
  "showInNavigation": true,
  "featured": false,
  "isFavourite": false,
  "isArchived": false,
  "productIds": [
    "<string>"
  ]
}
'
{
  "ok": true,
  "data": {
    "id": "ctg_4tzcbfp2v8q1mzwxj5h0r1n",
    "name": "Plans",
    "slug": "plans",
    "description": "Subscription plans for the platform.",
    "parentId": null,
    "displayOrder": 0,
    "icon": null,
    "metaTitle": null,
    "metaDescription": null,
    "showInNavigation": true,
    "featured": false,
    "isFavourite": false,
    "isArchived": false,
    "createdAt": "2026-05-01T10:00:00.000Z",
    "updatedAt": "2026-05-01T10:00:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token mode — passes the secret directly. Token starts with sk_.

Path Parameters

storeId
string
required
Required string length: 12 - 48

Body

application/json
name
string
required
Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9 &'\-\.]{0,126}[a-zA-Z0-9]$
slug
string
Required string length: 2 - 128
Pattern: ^[a-z0-9][a-z0-9\-]{0,126}[a-z0-9]$
description
string
Maximum string length: 500
parentId
string
Required string length: 12 - 48
displayOrder
integer
default:0
Required range: 0 <= x <= 9999
icon
string
Required string length: 1 - 64
Pattern: ^[a-z0-9\-]+$
metaTitle
string
Maximum string length: 128
metaDescription
string
Maximum string length: 320
showInNavigation
boolean
default:true
isFavourite
boolean
default:false
isArchived
boolean
default:false
productIds
string[]
Maximum array length: 100
Required string length: 12 - 48

Response

Default Response

ok
enum<boolean>
required
Available options:
true
data
any
required