List orders
The date filter defaults to the last 12 months; the applied range is echoed back in date_filter. Scoped to the authenticated user's company and gated on the orders.read permission.
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/orders
- Auth: HTTP bearer
Query parameters
Substring match on the supplier name.
Tab filter: pending, delivery or received. Omit for every status.
Restrict to one supplier.
Sort key (default date).
Sort direction (default desc).
Inclusive lower bound on orders.created_at (YYYY-MM-DD).
Inclusive upper bound on orders.created_at (YYYY-MM-DD).
Date filter preset. Relative presets (rel30/rel90/rel365) are resolved server-side from "now" and ignore from/to. Absolute presets (year, Q1-Q4, month, custom) require both from and to. all returns everything (no time bound). Unknown values are rejected with 422.
Omitting from/to/preset gives the default window, the last 12 months. This tier is stateless: a selection applies to the request that carries it and is never stored, so the same request always covers the same range. The effective range is echoed back in date_filter.
Page size. Default 20, max 100.
Opaque cursor from a previous response's next_starting_after.
Response
- date_filter success
Changes
No recorded changes to this operation across all 1 revision of this API.