DocsAPI ReferenceProduct Category/bff/product-category/assign-products
postProduct CategoryAdmin BFF

/bff/product-category/assign-products

mode=main sets the category as main_category_id (replaces existing); addRel links via shop__product_rel_category; removeRel removes the rel link.

Product CategorypostBffProduct-categoryAssign-products

Parameters

3 body

3 total
Body · 3
categoryCodestringRequired
productCodesstring[]Required
modestring | string | stringRequired

Request

POST /bff/product-category/assign-products

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

Response

JSON payload

{
  "affected": 0,
  "missingProducts": [
    "string"
  ]
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key