This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a list of inventory items, given the provided filtering, sorting, and cursor paging.
Search Inventory Items runs with these defaults, which you can override:
createdDate
is sorted in DESC
ordercursorPaging.limit
is 100
For field support for filters and sorting, see Inventory Items: Supported Filters and Sorting.
To learn about working with Search endpoints, see API Query Language, and Sorting and Paging.
Property | Capabilities | Filters |
---|---|---|
_id | Search: ✗ Aggregate: ✓ Sort: ✗ | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
locationId | Search: ✗ Aggregate: ✓ Sort: ✗ | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
variantId | Search: ✗ Aggregate: ✓ Sort: ✗ | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
product.directCategoryIds | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $hasAll , $hasSome |
_createdDate | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $lt , $lte , $gt , $gte |
_updatedDate | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $lt , $lte , $gt , $gte |
availabilityStatus | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any |
inStock | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any |
preorderInfo.enabled | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any |
product.name | Search: ✓ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
product.variantName | Search: ✓ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
product.variantSku | Search: ✓ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
productId | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $begins , $gt , $lt , $lte , $gte |
quantity | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any , $lt , $lte , $gt , $gte |
trackQuantity | Search: ✗ Aggregate: ✓ Sort: ASC , DESC | $eq , $ne , $exists , $in , $any |
Search options.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.