/bff/workflow/update
Updates an existing workflow status including its automation rules (auto-pay, invoice, redirect).
WorkflowpostBffWorkflowUpdate
Parameters
10 body
Body · 10
labelstringRequiredDisplay label for the status.
codestringRequiredStatus code to update (identifies the status).
internalNamestringInternal name visible only to staff.
publicLabelstringPublic-facing label shown to customers.
colorstringRequiredHex color for the status badge.
markAsPaidbooleanRequiredAutomatically mark order as paid when entering this status.
createInvoicebooleanRequiredAutomatically create invoice when entering this status.
createReceiptbooleanRequiredAutomatically create receipt when entering this status.
redirectToCodestringStatus code to auto-redirect to after timeout.
redirectTimeoutstringRelative time before redirect (e.g. "2h", "1d").
Request
POST /bff/workflow/update
curl -X POST "https://api.bizkithub.com/bff/workflow/update" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"label": "Odesláno",
"code": "odeslano",
"internalName": "example_internalName",
"publicLabel": "example_publicLabel",
"color": "#22c55e",
"markAsPaid": false,
"createInvoice": false,
"createReceipt": false,
"redirectToCode": "done",
"redirectTimeout": "2h"
}'Response
JSON payload
{
"success": true
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.