# Product list can be filtered by a flag

URL: https://shoptet.dev/news/api/product-list-can-be-filtered-by-a-flag

May 5, 2020 · One min read
Pavel Husa

We have added a new filter to the [Products List](https://api.docs.shoptet.com/shoptet-api/openapi/products/getlistofproducts) endpoint. You can call `/api/products?flag=action` and you will get only products having "action" flag set (and within actual date range). You can specify only one flag at a time. Do not be confused the flags are not part of the response. Assigned flags are available in the [Product Detail](https://api.docs.shoptet.com/shoptet-api/openapi/products/getproductdetail) endpoint (using `?include=flags` ).

**Tags:**
- [API](/news/tags/api/)
