query

products

Search and list products with advanced filtering, sorting, and pagination options including brand, category, price range, and more.
Arguments
search
String
Search query for product name, brand, or category, e.g. 'nike shoes' or 'laptop'.
filterQuery
String
Advanced 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
Boolean
Include filter options in response. True to show available filters, false to disable.
sortOn
String
Sort products by criteria, e.g. 'price_asc', 'popularity', 'discount_dsc', 'rating_dsc'.
first
Int
Number of products to retrieve in cursor-based pagination, e.g. 20.
pageNo
Int
Page number for number-based pagination, e.g. 1.
pageSize
Int
Number of products to retrieve per page, e.g. 12.
after
String
Cursor for next page in cursor-based pagination, e.g. '60f7b3b3b3f3b3b3b3f3b3b3'.
pageType
String
Pagination type: 'cursor' for cursor-based or 'number' for page-based pagination.
Response
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...