This document integrates AccelaSearch’s base API documentation, which can be found at https://svc11.accelasearch.net/API.
Filters are represented in Conjunctive Normal Form (CNF, see https://en.wikipedia.org/wiki/Conjunctive_normal_form) using three-dimensional arrays. Clauses with different first indexes represent conjunction, while clauses sharing the same first index represent a disjunction. The third index represents the name of the attribute to filter on. For numerical values only, a fourth index is used to impose lower bounds and upper bounds. Note that filters are case-sensitive.
Returns only items belonging to the category “Kitchen cabinet”:
&filters[0][0][categories]=Kitchen%20cabinet
Returns only items having (selling) price between 20.0 and 100.0 (inclusive).
&filters[0][0][sellingPrice][from]=20.0
&filters[0][0][sellingPrice][to]=100.0
Note: The customer_group_id
parameter must also be set for this filter to work.
Returns only items belonging to the category “Kitchen cabinet” or category “Bathroom”:
&filters[0][0][categories]=Kitchen%20cabinet
&filters[0][1][categories]=Bathroom
Returns only items belonging to the category “Kitchen cabinet” and having “red” color:
&filters[0][0][categories]=Kitchen%20cabinet
&filters[1][0][color]=red