For the complete documentation index, see llms.txt. This page is also available as Markdown.

Block an order

Places a block on an order, with a free text reason. An order blocked with type DELIVER_OUT must not be handed out to the customer - use this when the customer cannot be trusted to receive the goods, for instance because an invoice is unpaid or the credit limit is spent.

An order carries at most one blocking of each type. Blocking a type the order is already blocked with answers 409 - the blocking is already there, and its reason is changed with PUT rather than by blocking again.

Required permissions: ORDER_BLOCKING

post
/tenants/{tenantUid}/stores/{storeUid}/orders/{orderUid}/blockings
Authorizations
AuthorizationstringRequired

Access token recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
orderUidstringRequired

Reference to an Order.

Pattern: ^[A-Za-z0-9-_]+
Body
typestring · enumRequired
ENUMDescription
DELIVER_OUTThe order must not be handed out to the customer
Possible values:
descriptionstringOptional

Free text explaining why the order is blocked, shown to whoever is stopped by it.

Responses
201

Example response

application/json

A block placed on the order, stopping one kind of work on it until it is removed.

and
post/tenants/{tenantUid}/stores/{storeUid}/orders/{orderUid}/blockings
POST /v2/tenants/{tenantUid}/stores/{storeUid}/orders/{orderUid}/blockings HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 43

{
  "type": "DELIVER_OUT",
  "description": "text"
}
{
  "orderBlockingUid": "text",
  "type": "DELIVER_OUT",
  "description": "text",
  "createdBy": "text",
  "createdAt": "2026-01-01T00:00:00.000Z",
  "lastModifiedBy": "text",
  "lastModifiedAt": "2026-01-01T00:00:00.000Z"
}

Last updated

Was this helpful?