/bff/product/product-custom-field-create
Adds a new custom field to a product. Custom fields store additional structured data (e.g. material, color).
ProductpostBffProductProduct-custom-field-create
Parameters
4 body
Body · 4
productCodestringRequiredProduct code to add the custom field to.
keystringRequiredCustom field key (unique per product).
Length: 1–32
valuestringCustom field value.
activebooleanWhether the field is active. Defaults to false.
Request
POST /bff/product/product-custom-field-create
curl -X POST "https://api.bizkithub.com/bff/product/product-custom-field-create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"productCode": "my-product",
"key": "material",
"value": "cotton",
"active": false
}'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.