BizKitHub
DocsAPI ReferenceProduct Category/bff/product-category/category-bulk
postProduct CategoryAdmin BFF

/bff/product-category/category-bulk

Apply an action to a set of categories by their codes. Supported: activate, deactivate, mark-internal, unmark-internal, mark-b2b, unmark-b2b, delete (always cascades), restore, change-parent.

Product CategorypostBffProduct-categoryCategory-bulk

Parameters

JSON body

Request body

application/json
codesstring[]Required

Codes of categories to act on.

action"activate" | "deactivate" | "mark-internal" | "unmark-internal" | "mark-b2b" | "unmark-b2b" | "delete" | "restore" | "change-parent"Required
newParentCodestring | nullOptional
One of 2:
Variant 1
string

Only used with change-parent.

Variant 2
null

Response schema

1 status code documented

200Success
affectednumberRequired
skippednumberRequired

Response example

application/json
{
  "affected": 0,
  "skipped": 0
}

Request example

POST /bff/product-category/category-bulk

post
curl -X POST "https://api.bizkithub.com/bff/product-category/category-bulk" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "codes": [
    "string"
  ]
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key