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
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Store.
^[A-Za-z0-9-_]+Reference to an Order.
^[A-Za-z0-9-_]+| ENUM | Description |
|---|---|
| DELIVER_OUT | The order must not be handed out to the customer |
Free text explaining why the order is blocked, shown to whoever is stopped by it.
Example response
A block placed on the order, stopping one kind of work on it until it is removed.
The order is already blocked with this type. Change the reason on the existing blocking with PUT instead.
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?

