Product CategorypostBffProduct-categoryCategory-create
Parameters
4 body
Body · 4
namestringRequiredCategory display name.
codestringRequiredUnique category code (slug-like).
slugstringURL slug. Auto-generated from name if not provided.
parentCodestringParent category code for nesting.
Request
POST /bff/product-category/category-create
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.