Productsup

Filtering

Filter and paginate product data from the Export API.

There are different ways in which the exported data can be filtered: no filter, simple filtering, and advanced filtering. When sending no filter parameters, all products are shown. Simple filtering allows searching for one or more values in a specific column. Advanced filtering allows the creation of filters that can be compared with complex queries.

For a better illustration, you can see some example SQL queries equivalent to what the API requests throughout the documentation. In those examples, you can expect the schema of your exported data to look as follows:

CREATE TABLE IF NOT EXISTS `data` (
   `id`           TEXT,
   `color`        text DEFAULT '',
   `name`         text DEFAULT '',
   `email`        text DEFAULT '',
   `countryCode`  text DEFAULT ''
);

Keep in mind that the returned attributes and query-able columns depend on individual client data schema.

How is this guide?