DocsAPI ReferenceProduct/bff/product/product-custom-field-create
postProductAdmin BFF

/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

4 total
Body · 4
productCodestringRequired

Product code to add the custom field to.

keystringRequired

Custom field key (unique per product).

Length: 132
valuestring

Custom field value.

activeboolean

Whether the field is active. Defaults to false.

Request

POST /bff/product/product-custom-field-create

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

Get API Key