Skip to main content

Inventory Object

Description​

Paginated inventory results with item entries. The metadata and stats fields are deprecated in favor of the inventoryMetadata query.

Declaration​

type Inventory {
pagination: Pagination!
entries: [Item!]!
metadata: InventoryMetadata
stats: InventoryStats
}

Fields​

NameTypeDescription
paginationPagination!Pagination information. The count stops past 100 pages: `capped` then says so, `pages` is 100 and `count` 100 pages' worth.
entries[Item!]!List of items in the current page.
metadata ⚠️InventoryMetadataNo longer computed: its categories, supplier codes and locations are always empty. ⚠️ Deprecated: Always empty. Use the inventoryMetadata query for stats.
stats ⚠️InventoryStatsNever computed here: always null. Use the inventoryMetadata query's stats. ⚠️ Deprecated: Always null. Use the inventoryMetadata query's stats.