Search and list products with advanced filtering, sorting, and pagination options including brand, category, price range, and more.
Arguments
search
StringSearch query for product name, brand, or category, e.g. 'nike shoes' or 'laptop'.
filterQuery
StringAdvanced filter query string with conditions, e.g. 'brand.name:nike||price:[100:::500]'.
The filterQuery allows advanced filters using || for OR, ::: for AND, and [min TO max] for ranges.
For example, f=brand.name:nike||brand.name:adidas:::price:[100 TO 500]
translates to (brand.name:(nike OR adidas)) AND price:[100 TO 500].
enableFilter
BooleanInclude filter options in response. True to show available filters, false to disable.
sortOn
StringSort products by criteria, e.g. 'price_asc', 'popularity', 'discount_dsc', 'rating_dsc'.
first
IntNumber of products to retrieve in cursor-based pagination, e.g. 20.
pageNo
IntPage number for number-based pagination, e.g. 1.
pageSize
IntNumber of products to retrieve per page, e.g. 12.
after
StringCursor for next page in cursor-based pagination, e.g. '60f7b3b3b3f3b3b3b3f3b3b3'.
pageType
StringPagination type: 'cursor' for cursor-based or 'number' for page-based pagination.
Response
Query
Try it
Input Variables
Response
Was this section helpful?