query

collectionItems

Fetch products and items within a specific collection with advanced filtering, sorting, and pagination options. You can get slug value from the query collections.
Arguments
Required
URL-friendly identifier of the collection, e.g. 'best-sellers' or 'new-arrivals'.
search
String
Search query to find specific products within the collection, e.g. 'red dress'.
filters
Boolean
Enable/disable filter parameters in response. True to include all filters, false to disable.
first
Int
Number of items to retrieve in cursor-based pagination, e.g. 20.
after
String
Cursor for next page in cursor-based pagination, e.g. '60f7b3b3b3f3b3b3b3f3b3b3'.
pageNo
Int
Page number for number-based pagination, e.g. 1.
pageSize
Int
Number of collection items to retrieve per page, e.g. 12.
pageType
String
Pagination type: 'cursor' for cursor-based or 'number' for page-based pagination.
query
String
Advanced filter query string with conditions, e.g. 'brand.name:nike||price:[100:::500]'. The query 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].
sortOn
Sort_on
Sort order for products, e.g. 'price_asc', 'popularity', 'discount_dsc', 'latest'.
Response
True for fetching all filter parameters and False for disabling the filter parameters.
List of collection objects.
Page information for collections response.
The order in which the list of products should be sorted, e.g. popularity, price, latest and discount, in either ascending or descending order. See the supported values below.
Query
Loading...
Try it
Input Variables
Loading...
Response
Loading...