Packing
List Pack Queue
Orders in a warehouse that are ready to pack: open fulfillment orders whose units have been picked and not yet packed. Each row carries `open_pack_session_id` and `packing_by` {id, name} when someone already has the order open, and `item_count` (units still to ship).
Open Pack Session
Open the pack session for an order, or resume the one already open for it. Identify the order either by `code` — a scanned packing slip, sales order number, fulfillment order reference, tote code or pick list number — or by `fulfillment_order_id`. Returns 201 when a session was opened and 200 when an open one was resumed (two packers opening the same order get the same session).
Get Pack Session
A pack session with its lines, verified counts, cartons and the ways it can finish.
Abandon Pack Session
Abandon an open pack session: its verified counts and cartons are discarded and the order is left untouched, back in the pack queue.
Record Pack Session Scans
Verify items by scanning them. Send a batch of scans; they are applied in order. Each scan adds to the matching line or is refused and changes nothing. The order's lines are re-read first, so a change made to the order elsewhere is picked up (`order_changed: true`, with expected quantities updated).
Verify All Pack Session Items
Mark every line verified without scanning, recording why. The reason is kept on the session (`verify_override_reason`) and in the order's activity log.
Set Pack Session Cartons
Replace the session's carton plan. Every verified physical unit must be in exactly one carton. A box preset (`box_id`, see Packaging Boxes) fills any dimensions you leave out; a weight left blank is estimated from the products' weights plus the box's tare weight (`weight_estimated: true`). On success the session becomes `packed_ready`.
Get Pack Session Shipping Rates
Quote Shippo rates for the session's cartons, one parcel per carton, from the warehouse to the order's ship-to address. The session must be `packed_ready` (cartons set).
Complete Pack Session
Finish packing the order. The session must be `packed_ready`. Choose how it leaves the warehouse with `mode`: