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

/bff/product-category/category-reorder

Reorder / move category in tree

Product CategorypostBffProduct-categoryCategory-reorder

Parameters

3 body

3 total
Body · 3
codestringRequired
newParentCodestring | null
newPositionnumberRequired

Request

POST /bff/product-category/category-reorder

post
curl -X POST "https://api.bizkithub.com/bff/product-category/category-reorder" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "code": "example_code",
  "newPosition": 0
}'

Response

JSON payload

{
  "newPosition": 0,
  "siblings": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key