GET/api/ordering/production/sections

The same day, broken down by production section

Sections come from the Odoo category tree, resolved variant → base → category. Only sections with at least one item that day are returned, plus an unsectioned bucket when items have no category to fall under. Items sort biggest job first.

1 parameter
datestringrequired
Montreal business day, `yyyy-mm-dd`. Required. Day-scoped endpoints filter on the **delivery** date (D-14).

4 status codes
200One entry per section.
idstringoptional
The Odoo category id, or the literal `unsectioned`.
namestringoptional
nameFrstringoptional
unsectionedbooleanoptional
totalnumberoptional
bakednumberoptional
rawnumberoptional
itemsarray<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.