Parameters
JSON body
Request body
application/jsontreeanyRequiredTree shape returned by /category-ai-restructure-suggest (possibly user-edited).
toDeprecatestring[]RequiredMoves / creates categories according to the (possibly-edited) plan. Categories listed in toDeprecate are soft-deleted with cascade.
JSON body
treeanyRequiredTree shape returned by /category-ai-restructure-suggest (possibly user-edited).
toDeprecatestring[]Required1 status code documented
creatednumberRequiredmovednumberRequireddeprecatednumberRequired{
"created": 0,
"moved": 0,
"deprecated": 0
}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"
]
}'All BizKitHub public API endpoints require authentication via API key.