DocsAPI ReferenceProduct Parameter/bff/product-parameter/category-assign
postProduct ParameterAdmin BFF

/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

4 total
Body · 4
categoryCodestringRequired

Product category code to map the parameter to.

parameterCodestringRequired

Parameter code to assign to the category.

requiredboolean

Whether the parameter is required for products in this category. Defaults to false.

positionnumber

Sort order position. Defaults to 0.

Request

POST /bff/product-parameter/category-assign

post
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.

Get API Key