GET
/api/packing/itemsK2 — pack by item
Every item ordered for the day, grouped by production section, each item carrying the orders that need it. This is the main work screen: a packer stands at one shelf and fills every order for that item.
Counts the same order set as the production rollup (confirmed-or-later × delivery date), so a section's needed equals its production total for the day — the two boards can never disagree.
datestringrequired
Montreal business day, `yyyy-mm-dd`. Required. Day-scoped endpoints filter on the **delivery** date (D-14).
200The day's items, by section.
datestringoptional
totalsobjectoptional
sectionsarray<object>optional
400Invalid input — the `error` string says what was wrong.
errorstringrequired
401Not authenticated. Sign in first (see the Auth tag).
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 500 is returned: Unexpected server error.