/bff/complaint/variant-create
Creates a new complaint variant type for the organisation.
ComplaintpostBffComplaintVariant-create
Parameters
4 body
Body · 4
codestringRequiredUnique variant code within the organisation. Used as identifier in API calls.
labelstringRequiredHuman-readable variant label displayed in UI.
policyIdnumberDefault complaint policy ID applied to this variant.
positionnumberDisplay order position. Lower values appear first.
Request
POST /bff/complaint/variant-create
curl -X POST "https://api.bizkithub.com/bff/complaint/variant-create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"code": "reklamace",
"label": "Reklamace",
"policyId": 1,
"position": 0
}'Response
JSON payload
{
"success": true,
"id": 1
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.