Stores Inventory Items: Supported Filters and Sorting

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

FieldSupported FiltersSortable
id$eq, $ne, $exists, $in, $hasSome, $startsWith
createdDate$eq, $ne, $exists, $in, $hasSome, $lt, $le, $gt, $geSortable
updatedDate$eq, $ne, $exists, $in, $hasSome, $lt, $le, $gt, $geSortable
quantity$eq, $ne, $exists, $in, $hasSome, $lt, $le, $gt, $geSortable
inStock$eq, $ne, $exists, $in, $hasSomeSortable
preorderInfo.enabled$eq, $ne, $exists, $in, $hasSomeSortable
variantId$eq, $ne, $exists, $in, $hasSome, $startsWith
locationId$eq, $ne, $exists, $in, $hasSome, $startsWith
productId$eq, $ne, $exists, $in, $hasSome, $startsWith

Related content: API Query Language, Query Stores Inventory Items, Search Stores Inventory Items

Did this help?