DocsAPI ReferenceWorkflow/bff/workflow/group-set-position
postWorkflowAdmin BFF

/bff/workflow/group-set-position

Swaps the position of an order group with its neighbour. No-op at the boundary.

WorkflowpostBffWorkflowGroup-set-position

Parameters

2 body

2 total
Body · 2
codestringRequired

Code of the group to reorder.

directionstringRequired

Direction to move: "up" or "down".

Request

POST /bff/workflow/group-set-position

post
curl -X POST "https://api.bizkithub.com/bff/workflow/group-set-position" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "code": "reservations",
  "direction": "up"
}'

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.

Get API Key