/bff/product-parameter/category-assign
Maps a parameter to a product category. If the mapping already exists, the request is silently ignored (idempotent). This mapping tells the admin UI which parameters to show when editing products in this category.
Product ParameterpostBffProduct-parameterCategory-assign
Parameters
4 body
Body · 4
categoryCodestringRequiredProduct category code to map the parameter to.
parameterCodestringRequiredParameter code to assign to the category.
requiredbooleanWhether the parameter is required for products in this category. Defaults to false.
positionnumberSort order position. Defaults to 0.
Request
POST /bff/product-parameter/category-assign
curl -X POST "https://api.bizkithub.com/bff/product-parameter/category-assign" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"categoryCode": "electronics",
"parameterCode": "weight",
"required": false,
"position": 0
}'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.