DocsAPI ReferenceProduct Category/bff/product-category/category-ai-restructure-apply
postProduct CategoryAdmin BFF

/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

2 total
Body · 2
treeanyRequired

Tree shape returned by /category-ai-restructure-suggest (possibly user-edited).

toDeprecatestring[]Required

Request

POST /bff/product-category/category-ai-restructure-apply

post
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.

Get API Key