Orders
Completed sales, and the paid orders your application creates.
📄️ List orders
The orders sold at the outlet in `X-Outlet-ID`, newest sale first, with their lines and tenders. Pages are keyset-based, so a page does not shift when new orders arrive. `sold_at_from` and `sold_at_to` bound the sale time (both inclusive); `sold_at_from` after `sold_at_to` answers `400 VALIDATION_FAILED`. A `cursor` is only valid with the same `limit`, the same `X-Outlet-ID`, the same `sold_at_from` and `sold_at_to` and the same endpoint.
📄️ Create a paid order
Sends a paid `delivery`, `takeaway` or `pickup` order from your application. A new order answers `201`.
📄️ Get an order
One order with its lines, tenders and buyer. `member` is the buyer's current member profile, and `null` for a walk-in order. An order sold at another outlet, or of another merchant, answers `404 NOT_FOUND`.