/api/packing/dayK1 — the day board
The night's headline for one delivery day: how many orders are left to pack and how far each has got, how many lines are packed / short / pending, and which orders another packer is currently holding.
Line counts run over the whole day, not just the orders left to pack — an order leaves the to-pack set the moment it is confirmed, and a denominator that shrank through the night would read as lost work. Locks older than lockTtlMinutes are filtered out, so a stale lock never blocks the board.
Montreal business day, yyyy-mm-dd. Required. Day-scoped endpoints filter on the delivery date (D-14).
total is the whole day; toPack is what is left. An order leaves toPack the moment it is confirmed.
Counted over the WHOLE day, not just what is left to pack — a denominator that shrank through the night would read as lost work.
Short lines so far — each has a back-order behind it.
How long a soft lock survives without activity. PROVISIONAL — 30 minutes is our proposal, not the client's call.
Orders another packer is holding right now (PK-10). Expired locks are filtered out, so a stale lock never blocks the board.
error string says what was wrong.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 500 is returned: Unexpected server error.