Parameters
JSON body
Request body
application/jsonlabelstringRequiredDisplay label for the status.
OdeslánocodestringRequiredStatus code to update (identifies the status).
odeslanointernalNamestringOptionalInternal name visible only to staff.
publicLabelstringOptionalPublic-facing label shown to customers.
colorstringRequiredHex color for the status badge.
#22c55emarkAsPaidbooleanRequiredAutomatically mark order as paid when entering this status.
createInvoicebooleanRequiredAutomatically create invoice when entering this status.
createReceiptbooleanRequiredAutomatically create receipt when entering this status.
redirectToCodestringOptionalStatus code to auto-redirect to after timeout.
doneredirectTimeoutstringOptionalRelative time before redirect (e.g. "2h", "1d").
2hredirectWhenPaidToCodestringOptionalStatus code to move to once the order is in this status AND paid, in either order (entering the status while paid, or getting paid while in it). Empty string clears it; omitted = unchanged.
zak-dokonceno