DocsAPI ReferenceProduct Category/bff/product-category/category-create
postProduct CategoryAdmin BFF

/bff/product-category/category-create

Create product category

Product CategorypostBffProduct-categoryCategory-create

Parameters

4 body

4 total
Body · 4
namestringRequired

Category display name.

codestringRequired

Unique category code (slug-like).

slugstring

URL slug. Auto-generated from name if not provided.

parentCodestring

Parent category code for nesting.

Request

POST /bff/product-category/category-create

post
curl -X POST "https://api.bizkithub.com/bff/product-category/category-create" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "name": "Electronics",
  "code": "electronics",
  "slug": "example_slug",
  "parentCode": "root"
}'

Response

JSON payload

{
  "success": true,
  "code": "example_code",
  "slug": "example_slug"
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key