More in Learn

Results within a Price Range

Like most eCommerce stores, you might want to add the functionality of filtering products within a price range. This section discusses how to do this with the Search API.

In order to perform these operations, ensure that you have the proper authentication (if necessary) and user permissions.

Filter Items within Price Range

In order to filter the search results within a price range, use the productVariants field within the filter object. Then you can specify the minimum and maximum values in the priceRange field as follows:

Circle loading spinnerImage of a partial circle indicating &qoute;loading&qoute;.Fetching snippet...
People showing thumbs up

Need further help?

Join and ask our
slack community.

Join our slack community