Skip to main content

Filters

Filters have the form filters[field][operator]=value. Combine several to narrow down further. Dates are ISO 8601 with a time zone, for example 2026-12-01T00:00:00Z. In a URL, encode $ as %24 or escape it in your shell. For sales figures you usually want completed orders only: GET /orders?filters[status][$eq]=completed.

Sorting

Sort with sort=field:asc or sort=field:desc. An unknown filter value or sort field gets 400 Bad Request, with the allowed values in the message.