/bff/complaint/create
Creates a new complaint case. Optionally links to an existing order and its items. An initial event is automatically created in the complaint timeline.
Parameters
17 body
variantCodestringRequiredOrganisation-defined complaint variant code.
orderIdnumberInternal order ID to link the complaint to an existing order.
orderNumberstringHuman-readable order number. Use when order is external or unavailable by ID.
descriptionstringRequiredCustomer-provided description and reason for the complaint.
customerNamestringRequiredFull name of the customer filing the complaint.
emailstringCustomer e-mail for complaint communication.
phonestringCustomer phone number.
pricenumberTotal claimed amount in the order-defined currency.
currencyIdnumberCurrency ID for the claimed amount.
refundCountrystringISO 3166-1 alpha-2 country code for refund bank account.
refundBankAccountstringBank account number for refund transfer.
refundVariableSymbolstringVariable symbol for refund bank transfer.
branchIdnumberBranch ID where the product should be sent for inspection.
serviceIdnumberExternal service provider ID handling the complaint.
resolutionMethodCodestringPreferred resolution method code defined by organisation.
dueDatestringDeadline for complaint resolution.
date-timeitemsobject[]5 fieldsList of complained items from the original order.
Request
POST /bff/complaint/create
curl -X POST "https://api.bizkithub.com/bff/complaint/create" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"variantCode": "reklamace",
"orderId": 1024,
"orderNumber": "25000087",
"description": "Product arrived damaged, visible scratch on the surface.",
"customerName": "Jan Novák",
"email": "jan@example.com",
"phone": "+420 777 123 456",
"price": 1500,
"currencyId": 1,
"refundCountry": "CZ",
"refundBankAccount": "123456789/0100",
"refundVariableSymbol": "25000087",
"branchId": 1,
"serviceId": 1,
"resolutionMethodCode": "repair",
"dueDate": "2026-02-15T00:00:00.000Z",
"items": [
{
"orderItemId": 501,
"label": "Cheese burger",
"quantity": 1,
"price": 250,
"currencyId": 1
}
]
}'Response
JSON payload
{
"success": true,
"id": "a1b2c3d4"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.