Filter
| Field | Type | Required | Description |
|---|---|---|---|
id |
string |
yes | The id (or name) of this filter |
label |
string |
yes | the label of the filter that is showed to the user |
type |
string |
yes | If the type is select, a range will be displayed as a slider with a minimum and a maximum value. If it is multiselect, the customer will have different options to select from and the maximum property limits the number of selectable options for this filter. A value of one for this means that this will be a singleselect. one of: range, multiselect |
source |
string |
the source this filter was generated from, please send it with your values array, when filtering one of: options, properties, attributes, categories, manufacturer |
|
minimum |
integer |
Only used with type range to provide the selectable miminum value for this filter. format: int32 |
|
maximum |
integer |
Used with type range to provide the selectable maximum value for this filter. With type multiselect, this gives the number of selectable values. format: int32 |
|
values |
array[object] |
The selectable values if type is multiselect |
Example
Section titled “Example”{ "id": "filter23", "label": "Preisbereich", "type": "range", "minimum": 42, "maximum": 876}
