/api/orders/{id}/lines/{lineId}/shipShip an order line
Ships a specified line on an order and returns the reloaded order. Use qtyShipped to record the quantity shipped; a shipped quantity supersedes a packed quantity when reconciling back-orders. You cannot ship more than the ordered quantity.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
The unique identifier of the order containing the line to ship.
The unique identifier of the order line to ship.
The shipped quantity for the order line.
The quantity shipped. Must be 0 or greater.
Order id.
Human-facing, ORD-YYMM-NNN.
Customer id.
The customer's type AT ORDER TIME — it may change later, and the order keeps what it was sold under.
The day the order was taken.
The day it ships — what production and packing group by (D-14).
Order-level note.
The standing order that generated this one (R6). Null for every hand-taken order. Note the source does NOT distinguish one: a generated order says phone, because the OrderSource enum was deliberately left untouched.
error field describes what was wrong.A 400 is returned for invalid input, including a shipped quantity above the ordered quantity; a 401 is returned when you are not authenticated; a 403 is returned when you lack the required department membership or role; a 404 is returned when the order or line is not found; and a 500 is returned for an unexpected server error. The id path parameter and lineId path parameter must identify the order and line to ship. qtyShipped is required and must be 0 or greater.