API introduction
Filtering and sorting
The API keeps filtering simple on purpose. Only the filters listed here exist.
Filters and order of each list#
| List | Filters | Order of the rows |
|---|---|---|
GET /categories | archived | By position (sort), then id. |
GET /products | sku, status, category_id, expand | By id, oldest first. |
GET /products/{id}/variants | None | Not paged: every size of the product. |
GET /inventory | product_id, variant_id, sku, status, q | By size id. |
GET /inventory/movements | product_id, variant_id, sku, reason, from, to | Newest first. |
GET /orders | status, payment_status, after, expand | Newest first. |
GET /customers | type, status | By id, oldest first. |
Every filter is an exact match written as a query parameter, for example ?status=published&category_id=3. What each filter accepts is on the reference page of the call.
What is not supported#
- Sorting: there is no
sortororderparameter. Each list has the fixed order shown above. - Filter operators: there are no operators such as greater-than or contains, no combined conditions and no filter syntax. Use
updated_sincefor changes over time, andfromandto(dates) for the stock history. - Search: the only text search is
qon the stock list (words in the product name, SKU or size). - Query parameters that are not listed for a call are ignored.
Need something else? Read the list with updated_since and filter in your own software, or tell us what is missing.