DocsAPI ReferenceWorkflow/bff/workflow/group-add
postWorkflowAdmin BFF

/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.

WorkflowpostBffWorkflowGroup-add

Parameters

6 body

6 total
Body · 6
namestringRequired

Display name of the new group.

codestring

Optional stable code (slug). Auto-generated from name when omitted.

descriptionstring

Free-form admin description.

dueDateRelativeTimestring

Default due-date offset for new orders.

invoicePrefixstring

Optional 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

post
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.

Get API Key