BizKitHub
DocsAPI ReferenceOrder/bff/order/set-group
postOrderAdmin BFF

/bff/order/set-group

Moves an existing order into another active order group. When the target group has linked statuses, the resulting status must be one of them; otherwise 422 with allowedStatusCodes. Writes the order log. Issued documents are unchanged; the target group's invoice prefix and issuer apply to documents issued after the move.

OrderpostBffOrderSet-group

Parameters

JSON body

Request body

application/json
orderHashstringRequired

Unique order hash identifier.

groupCodestringRequired

Code of the target (active) order group.

Length: 1–∞
Examplemontaz
statusCodestringOptional

Optional status to switch to together with the move. Required when the current status is not linked to the target group.

Examplenabidka-prijata

Response schema

1 status code documented

200Success

This response returns no JSON body.

Response example

application/json
{
  "success": true
}

Request example

POST /bff/order/set-group

post
curl -X POST "https://api.bizkithub.com/bff/order/set-group" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "orderHash": "example_orderHash",
  "groupCode": "montaz",
  "statusCode": "nabidka-prijata"
}'

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key