Commerce Layer will be proud to sponsor the next JAMstack Conf in London — 09-10 July, 2019 🎉 Stay tuned!


Filtering data

When you fetch a collection of resources, you can add filters to further refine the results. For example, the following request fetches a collection of SKUs that have been created within a specific time range:

GET /api/skus?filter[created_at_from]=2018-01-01&filter[created_at_to]=2018-01-31 HTTP/1.1
Accept: application/vnd.api+json
Note: You can get the full list of allowed filters from the documentation of each resource.