DocsAPI ReferenceComplaint/bff/complaint/variant-create
postComplaintAdmin BFF

/bff/complaint/variant-create

Creates a new complaint variant type for the organisation.

ComplaintpostBffComplaintVariant-create

Parameters

4 body

4 total
Body · 4
codestringRequired

Unique variant code within the organisation. Used as identifier in API calls.

labelstringRequired

Human-readable variant label displayed in UI.

policyIdnumber

Default complaint policy ID applied to this variant.

positionnumber

Display order position. Lower values appear first.

Request

POST /bff/complaint/variant-create

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

Get API Key