OptionalallJoins nested filters with logical AND
OptionalanyJoins nested filters with logical OR
OptionalfieldProduct field to apply filter on
OptionalhasIf true, matches all products which have the value on selected field.
If false, matches all products which have no value in selected field.
OptionalnotJoins nested filters with logical AND and inverts match
OptionalprefixList of prefixes to match
OptionalrangeList of range filters to apply
OptionalvalueList 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
greenandgreenishcolorValue 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