Add-Ons: Filtering and Sorting

This article covers field support for filtering in Query Add Ons.

Filtering

Specify the filter object in the following format:

Copy

The following table shows field support for filters and sorting for the addOn object:

FieldSupported FiltersSortable
id$eq, $ne, $exists, $in, $startsWithSortable
name$eq, $ne, $exists, $in, $startsWithSortable
price.value$eq, $ne, $exists, $in, $gt, $gte, $lt, $lteSortable
price.currency$eq, $ne, $exists, $inSortable
price.formattedValue$eq, $ne, $exists, $in, $startsWithSortable
durationInMinutes$eq, $ne, $exists, $in, $gt, $gte, $lt, $lteSortable
taxGroup$eq, $ne, $exists, $in, $startsWithSortable
maxQuantity$eq, $ne, $exists, $in, $gt, $gte, $lt, $lteSortable

Sorting

The default sort is by id in ascending (ASC) order.

Specify the sort object in the following format:

Copy

See also

Did this help?