/bff/product/product-category-set-main
Sets or changes the main category for a product. The main category determines which custom field definitions apply and affects product feed categorization.
ProductgetBffProductProduct-category-set-main
Parameters
2 query
Query · 2
productCodestringRequiredProduct code to set the main category for.
categoryCodestringRequiredCategory code to set as main. Pass empty string to unset.
Request
GET /bff/product/product-category-set-main
curl -X GET "https://api.bizkithub.com/bff/product/product-category-set-main?productCode=my-product&categoryCode=electronics" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Response
JSON payload
{
"success": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.