Filter products in a collection with the Storefront API

You can use the Storefront API to filter products in a collection. This functionality lets you build a desired customer experience on a storefront, such as the ability to narrow down the search results that you display to customers.

This tutorial shows you how to filter products in a collection based product type, vendor, variant options, price, and whether the product is in stock.