This article covers field support for filtering in Query Add Ons.
Specify the filter object in the following format:
The following table shows field support for filters and sorting
for the addOn object:
| Field | Supported Filters | Sortable |
|---|---|---|
id | $eq, $ne, $exists, $in, $startsWith | Sortable |
name | $eq, $ne, $exists, $in, $startsWith | Sortable |
price.value | $eq, $ne, $exists, $in, $gt, $gte, $lt, $lte | Sortable |
price.currency | $eq, $ne, $exists, $in | Sortable |
price.formattedValue | $eq, $ne, $exists, $in, $startsWith | Sortable |
durationInMinutes | $eq, $ne, $exists, $in, $gt, $gte, $lt, $lte | Sortable |
taxGroup | $eq, $ne, $exists, $in, $startsWith | Sortable |
maxQuantity | $eq, $ne, $exists, $in, $gt, $gte, $lt, $lte | Sortable |
The default sort is by id in ascending (ASC) order.
Specify the sort object in the following format: