Parametry
1 w query · Treść JSON
Parametry query
· 1apiKeystringWymaganeYour BizKitHub API key (passed as GET parameter).
Key format: A 32-character string matching: ^(PROD|DEV_|ROOT)[A-Za-z0-9]{28}$
Prefixes: PROD (production key), DEV_ (individual developer), ROOT (system key with no limits). Learn more
PRODPGrFxpGEtrOZfuWhnoJohUYBXuOETreść żądania
application/jsonvariantCodestringWymaganeOrganisation-defined complaint variant code.
Each organisation configures its own set of complaint types (e.g. complaint, return, exchange). The variant must exist and be active in the organisation settings before it can be used.
complaintreturnexchangeorderHashstringOpcjonalneHash of the order this complaint is related to. The order must belong to the same organisation. If provided, the system automatically links the complaint to the order.
sSO98YxzR4KJiOu66Jn6K3wRwa4FPI7SorderNumberstringOpcjonalneHuman-readable order number for reference.
Use this field when the order is external or when you want to store the order number without linking to an internal order. If orderHash is provided, this field is optional and will be used as a display label only.
25000087descriptionstringWymaganeCustomer-provided description and reason for the complaint.
Include as much detail as possible — product condition, circumstances, and what the customer expects. This text is visible to staff and can be shared with the customer.
Product arrived damaged, visible scratch on the surface.customerNamestringWymaganeFull name of the customer filing the complaint.
Jan NovákemailstringOpcjonalneCustomer e-mail address for complaint communication.
Used for sending status updates and resolution notifications to the customer.
[email protected]phonestringOpcjonalneCustomer phone number in international format.
Preferred format: +<country_code> <local_number>
Example: +420 777123456
+420 777123456pricenumberOpcjonalneTotal claimed amount in the specified currency.
The claimed amount represents the value the customer is requesting as refund, credit, or compensation. Use decimal precision up to two places.
1500currencystringOpcjonalneISO 4217 currency code for the claimed amount. Defaults to organisation currency if omitted.
CZKEURrefundCountrystringOpcjonalneISO 3166-1 alpha-2 country code for the refund bank account.
CZSKrefundBankAccountstringOpcjonalneBank account number for refund transfer.
Use the local bank account format (e.g. 123456789/0100 for CZ) or IBAN.
123456789/0100refundVariableSymbolstringOpcjonalneVariable symbol for the refund bank transfer. Typically the original order number.
25000087branchIdnumberOpcjonalneBranch ID where the product should be sent for inspection or return.
resolutionMethodCodestringOpcjonalnePreferred resolution method code defined by the organisation.
Common values: repair (fix the product), exchange (replace with new), refund (return money), credit (issue store credit). The method must exist in the organisation settings.
repairexchangerefunddueDatestringOpcjonalnedate-timeDeadline for complaint resolution. If omitted, the organisation default applies.
2026-02-15T00:00:00.000Zitemsobject[]OpcjonalneList of items being complained about.
Each item can optionally reference an original order item by ID. If the complaint covers the entire order, you can omit this field and set the total claimed amount in the price field instead.
orderItemIdnumberOpcjonalneInternal order item ID to link the complained item to the original order line.
labelstringWymaganeItem description as displayed in the complaint.
Wireless headphones Model XquantitynumberOpcjonalneNumber of items being complained about. Defaults to 1.
1pricenumberOpcjonalneClaimed unit price of the item in the complaint currency.
2490