FilterableProductProps
The filters to apply on retrieved products.
An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
q
stringSearch through the products' attributes, such as titles and descriptions, using this search term.
handle
string | string[]The handles to filter products by.
id
string | string[]The IDs to filter products by.
tags
objectFilters on a product's tags.
tags
objecttags.value
string[]Values to filter product tags by.
categories
objectFilters on a product's categories.
categories
objectcategories.id
string | string[] | OperatorMap<string>IDs to filter categories by.
categories.is_internal
booleanFilter categories by whether they're internal
categories.is_active
booleanFilter categories by whether they're active.
category_id
string | string[] | OperatorMap<string>Filter a product by the IDs of their associated categories.
collection_id
string | string[] | OperatorMap<string>Filters a product by its associated collections.
Was this section helpful?