Chaining

This feature is currently in BETA and you should expect it to change.

You can chain filters to a query by using a colon (:) to separate your filters.

For example, to find all draft products with the slug 'new-slug' which have a stock greater than 2 and sorted by created_at, you can make the following request:

curl -X GET https://api.moltin.com/v2/products?filter=eq(status,draft):eq(commodity_type,physical) \
     -H "Authorization: Bearer XXXX"

Last updated