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

Change the reason on an order blocking

Changes the reason on a block already placed on an order. The block itself stays as it is: its uid, its type and who placed it are unchanged, so a caller holding the uid keeps it.

The type cannot be changed. A block names what it stops, so stopping something else is removing this block and placing another.

Required permissions: ORDER_BLOCKING

put
/tenants/{tenantUid}/stores/{storeUid}/orders/{orderUid}/blockings/{orderBlockingUid}
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-_]+
orderBlockingUidstringRequired

Reference to an orderBlocking

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

Free text explaining why the order is blocked, shown to whoever is stopped by it. Send an empty string to leave the blocking without a reason.

Responses
200

Example response

application/json

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

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

{
  "description": "text"
}
200

Example response

{
  "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?