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

/bff/workflow/group-set-position

Moves an order group exactly one place up or down within its section (active / inactive) of the display order (active first, then position, then id). Positions are renumbered to a unique 1..N sequence on the way, so duplicate stored positions never block the move. No-op at the section 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