Optional
allJoins nested filters with logical AND
Optional
anyJoins nested filters with logical OR
Optional
fieldProduct field to apply filter on
Optional
hasIf true
, matches all products which have the value on selected field.
If false
, matches all products which have no value in selected field.
Optional
notJoins nested filters with logical AND and inverts match
Optional
prefixList of prefixes to match
Optional
rangeList of range filters to apply
Optional
valueList of values to filter by, joined by OR operator
Filters out products that don't match this filter. Parameters groups are sent based on match type that you are using. Only send parameters which belong to the filter type you are using.
Exists match - matches products that have the provided field. Example - match only products which are on sale
Prefix match - matches products that have one of provided prefixes. This match type should only be used for debugging. Example - match
green
andgreenish
colorValue match - matches products if they match any of provided values. Example - match products which are red:
Range match - matches products if value is in the specified range. Example - match products with price 10 <= price < 100
Logical match - matches products if nested filters satisfy the condition.
Example - match samsung and apple products:
Example - match samsung or apple phones:
Example - match non apple products:
Logical filters can have any filter type in their nested array. That means that logical filters can nest other logical filters. Example - match all apple or samsung products, which cost more than a 100 or are bestsellers