/bff/product-category/category-ai-restructure-apply
Moves / creates categories according to the (possibly-edited) plan. Categories listed in toDeprecate are soft-deleted with cascade.
Product CategorypostBffProduct-categoryCategory-ai-restructure-apply
Parameters
2 body
Body · 2
treeanyRequiredTree shape returned by /category-ai-restructure-suggest (possibly user-edited).
toDeprecatestring[]RequiredRequest
POST /bff/product-category/category-ai-restructure-apply
curl -X POST "https://api.bizkithub.com/bff/product-category/category-ai-restructure-apply" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"toDeprecate": [
"string"
]
}'Response
JSON payload
{
"created": 0,
"moved": 0,
"deprecated": 0
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.