DELETE/api/packing/orders/{id}/lock

Give the order back [Packaging]

Releasing an order you do not hold is a 409, not a silent success — a stale tab must not hand another packer's order away. Releasing one that is not locked is fine.

1 parameter
idstringrequired
Order id.

7 status codes
200Released (or it was already free).
orderIdstringoptional
orderNumberstringoptional
lockedByIdstringoptional
Null once released.
lockedByNamestringoptional
lockedAtstringoptional
lockTtlMinutesintegeroptional
How long it survives without activity. PROVISIONAL.
400Invalid input — the `error` string says what was wrong.
errorstringrequired
401Not authenticated. Sign in first (see the Auth tag).
errorstringrequired
403Authenticated, but not allowed — this endpoint requires a department membership or a role you do not have.
errorstringrequired
404Not found.
errorstringrequired
409Held by someone else.
errorstringrequired
500Unexpected server error.
errorstringrequired

Error handling

A 400 is returned: Invalid input — the error string says what was wrong. A 401 is returned: Not authenticated. Sign in first (see the Auth tag). A 403 is returned: Authenticated, but not allowed — this endpoint requires a department membership or a role you do not have. A 404 is returned: Not found. A 409 is returned: Held by someone else. A 500 is returned: Unexpected server error.