/bff/workflow/group-add
Creates a new order group for the organisation and attaches a workflow-status set to it via shop__order_group_status. Code uniqueness and invoice-prefix uniqueness are enforced. The group is created at the end of the position order.
Parameters
6 body
namestringRequiredDisplay name of the new group.
codestringOptional stable code (slug). Auto-generated from name when omitted.
descriptionstringFree-form admin description.
dueDateRelativeTimestringDefault due-date offset for new orders.
invoicePrefixstringOptional invoice prefix (1–3 chars), unique per organisation.
statusCodesstring[]Optional explicit list of status codes to attach to the new group. When omitted, the link set is copied from the default group, or all org statuses are linked if no default group has links.
Request
POST /bff/workflow/group-add
curl -X POST "https://api.bizkithub.com/bff/workflow/group-add" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"name": "Reservations",
"code": "example_code",
"description": "example_description",
"dueDateRelativeTime": "7d",
"invoicePrefix": "example_invoicePrefix",
"statusCodes": [
"string"
]
}'Response
JSON payload
{
"success": true,
"code": "example_code"
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.