Parameters
No parameters required
This endpoint takes no path, query, header or body parameters.
Returns all order groups for the organisation with related data: order count, status count, and the list of workflow statuses linked to each group via the N:M shop__order_group_status table. Always invokes the bootstrap function first — guarantees that the organisation has the default order group and the default workflow status set, and that the default group has all statuses linked.
No parameters required
This endpoint takes no path, query, header or body parameters.
1 status code documented
itemsobject[]RequiredidnumberRequiredInternal numeric group ID.
codestringRequiredStable group code (slug, unique per organisation).
defaultnamestringRequiredDisplay name.
descriptionstring | nullRequiredFree-form admin description.
defaultbooleanRequiredWhether this group is the organisation default.
activebooleanRequiredWhether new orders can be assigned to this group.
positionnumberRequiredSort order within the organisation.
dueDateRelativeTimestringRequiredDefault due-date offset for new orders, e.g. "7d".
7dinvoicePrefixstring | nullRequiredOptional invoice number prefix (1–3 chars).
AinvoiceIssuerIdnumber | nullRequiredContact ID of the invoice issuer override, or null to use the org default.
invoiceIssuerobject | nullRequiredOverride contact who issues invoices for this group. null means the organisation's internal contact is used (default behaviour).
cuRefNostringRequiredshop__contact.external_id (16-char) — admin-facing contact reference.
namestringRequiredDisplay label. Company name with personal name in parens when both exist, otherwise whichever is set, otherwise email.
companyNamestring | nullRequiredTrading / legal name of the company, if set on the contact.
personalNamestring | nullRequiredTrimmed first last of the contact, or null when neither is set.
emailstring | nullRequiredInvoice issuer e-mail. null for phone-only contacts; in that case the issuer block on the invoice falls back to name and cuRefNo.
forceInvoicebooleanRequiredWhen true, paid orders in this group always get a full tax invoice regardless of country/threshold rules. The status-level create_receipt flag is suppressed for orders in this group — a single receipt cannot substitute for the required invoice on internal-party billing (e.g. franchise settlement).
useSystemDefaultNotificationsbooleanRequiredWhen true, sendOrderStatusNotification bypasses any per-group binding and per-org template variant configured for this organisation and sends the platform-baked default template keyed by the 4 status types (new / processing / storno / done). Used when the group hosts a flow (consulting, real-estate handoff, e-shop upsell inside a reservation-focused org) that does not fit the org's regular custom-template copy.
preferBankTransferPaymentbooleanRequiredWhen true, the system-default "order received" e-mail template renders bank transfer instructions (IBAN + variable symbol + payment QR) instead of the "Zaplatit online" button — provided the organisation has a bank account configured for the order currency and the order carries a variable symbol. Card payments through configured gateways continue to work; the flag only shapes the confirmation e-mail. Defaults to false.
insertedDatestringRequiredISO timestamp when the group was created.
orderCountnumberRequiredTotal number of orders ever assigned to this group.
statusCountnumberRequiredNumber of workflow statuses linked via shop__order_group_status.
statusesobject[]RequiredStatuses enabled for this group, ordered by their group position then global workflow position.
idnumberRequiredStatus internal ID.
codestringRequiredStatus code.
paidlabelstringRequiredStatus display label.
colorstringRequiredHex color including leading #.
#3c78d8workflowPositionnumberRequiredGlobal workflow position within the organisation.
positionnumberRequiredPosition of the status within this group.
paymentGatewayPreferenceobjectRequiredHow online payments resolve for orders in this group.
mode"fallback" | "specific" | "none"Required"fallback" — group has no specific preference, resolver uses the org-wide active gateway. "specific" — group is bound to a single gateway instance (see gatewayCode). "none" — online payments are explicitly disabled for this group; no redirect, no fallback.
gatewayCodestring | nullRequiredGateway instance code when mode is "specific".
gatewayInstanceIdnumber | nullRequiredGateway instance internal ID when mode is "specific".
itemCountnumberRequiredTotal number of groups returned.
{
"items": [
{
"id": 0,
"code": "default",
"name": "example_name",
"default": false,
"active": false,
"position": 0,
"dueDateRelativeTime": "7d",
"forceInvoice": false,
"useSystemDefaultNotifications": false,
"preferBankTransferPayment": false,
"insertedDate": "example_insertedDate",
"orderCount": 0,
"statusCount": 0,
"statuses": [
{
"id": 0,
"code": "paid",
"label": "example_label",
"color": "#3c78d8",
"workflowPosition": 0,
"position": 0
}
],
"paymentGatewayPreference": {}
}
],
"itemCount": 0
}GET /bff/workflow/group-list
curl -X GET "https://api.bizkithub.com/bff/workflow/group-list" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.