BizKitHub
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

JSON body

Request body

application/json
codestringRequired

Code of the group to reorder.

Examplereservations
directionstringRequired

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

Exampleup

Response schema

1 status code documented

200Success
successbooleanRequired
Default: true

Response example

application/json
{
  "success": true
}

Request example

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"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key