Parameters
JSON body
Request body
application/jsoncategoryCodestringRequiredproductCodesstring[]Requiredmode"main" | "addRel" | "removeRel"Requiredmode=main sets the category as main_category_id (replaces existing); addRel links via shop__product_rel_category; removeRel removes the rel link.
JSON body
categoryCodestringRequiredproductCodesstring[]Requiredmode"main" | "addRel" | "removeRel"Required1 status code documented
affectednumberRequiredmissingProductsstring[]Required{
"affected": 0,
"missingProducts": [
"string"
]
}POST /bff/product-category/assign-products
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"
]
}'All BizKitHub public API endpoints require authentication via API key.