GET
/api/ordering/production/totalsDay totals — baked vs raw
The hero numbers for a delivery day. Counts confirmed-or-later orders only; drafts never reach the floor, and an order with no delivery date is excluded from every day rather than silently bucketed.
datestringrequired
Montreal business day, `yyyy-mm-dd`. Required. Day-scoped endpoints filter on the **delivery** date (D-14).
200The day totals.
bakednumberoptional
rawnumberoptional
totalnumberoptional
floorStartstringoptional
The Montreal wall-clock cutoff behind `isNew` (added 2026-08-12). Carried so the UI can NAME it — "orders placed after 05:00 are marked New" — instead of keeping its own copy, which would drift the moment an install overrides `ordering.floorStartLocal`.
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.