/api/ordering/recurring/occurrencesThe day's scheduled fires
Every occurrence on one day, across all customers — what the "firing today" panels read.
Omit ?date= and you get the server's Montreal business day, which is the intended call: it means the client does no date arithmetic and cannot disagree with the bakery about what "today" is. Pass from/to instead for a window.
Returns a bare array, ordered by date then id.
One Montreal business day, yyyy-mm-dd. Defaults to today. Ignored when from/to are given.
Start of an inclusive window, yyyy-mm-dd.
End of an inclusive window, yyyy-mm-dd. A range may cover at most 92 days — a wider one is refused, not truncated.
Filter to one standing order.
Filter to one customer.
Filter to one ledger state.
The DELIVERY day this fire is for — which becomes the generated order's requestedDeliveryDate.
scheduled = due · generated = fired · skipped = a HUMAN took it out · cancelled = the SYSTEM did.
Why the system cancelled it. Never rendered as a status. missed means the day passed with no run — a past day is NEVER generated late.
The order this fire produced.
Snapshot taken inside the generating transaction. The history rail labels its jump-to-order button with this.
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.