/bff/product-category/category-custom-field-upsert
Adds (or edits) a custom field definition that will be shown only for products whose main_category equals this category.
Product CategorypostBffProduct-categoryCategory-custom-field-upsert
Parameters
11 body
Body · 11
categoryCodestringRequiredidstringkeystringRequiredsnake_case identifier, 2-32 chars.
typestringRequiredlabelstringRequiredhelperTextstring | nullplaceholderstring | nullrequiredbooleanRequiredactivebooleanRequiredpositionnumbervalidationPatternstring | nullRequest
POST /bff/product-category/category-custom-field-upsert
curl -X POST "https://api.bizkithub.com/bff/product-category/category-custom-field-upsert" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"categoryCode": "example_categoryCode",
"id": "example_id",
"key": "example_key",
"type": "text",
"label": "example_label",
"required": false,
"active": false,
"position": 0
}'Response
JSON payload
{
"id": "example_id"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.