API introduction

Filtering and sorting

The API keeps filtering simple on purpose. Only the filters listed here exist.

Filters and order of each list#

ListFiltersOrder of the rows
GET /categoriesarchivedBy position (sort), then id.
GET /productssku, status, category_id, expandBy id, oldest first.
GET /products/{id}/variantsNoneNot paged: every size of the product.
GET /inventoryproduct_id, variant_id, sku, status, qBy size id.
GET /inventory/movementsproduct_id, variant_id, sku, reason, from, toNewest first.
GET /ordersstatus, payment_status, after, expandNewest first.
GET /customerstype, statusBy 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 sort or order parameter. 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_since for changes over time, and from and to (dates) for the stock history.
  • Search: the only text search is q on 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.