/api/packing/orders/{id}/linesAdd an un-ordered line to a packing order
Adds a line for an item the customer did not order but that the packer placed in the box. Supply itemId and a positive qty; the line is recorded as both ordered and packed, and only the new line is priced. The returned order includes the added line, which arrives complete and does not block the packing confirmation gate.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The item and quantity for a line the packer placed in the box.
A 400 is returned for invalid input; a 401 when the request is unauthenticated; a 403 when the authenticated user lacks the required department membership or role; a 404 when a requested resource is not found; a 409 for a conflict; and a 500 for an unexpected server error. The id path parameter must identify an order. itemId and qty are required, qty must be greater than zero, and rawBaked, loosePacked, and sliced must use their listed enum values when supplied.