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
| Name | Type | Description |
|---|---|---|
pagination | Pagination! | 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 ⚠️ | InventoryMetadata | No longer computed: its categories, supplier codes and locations are always empty. ⚠️ Deprecated: Always empty. Use the inventoryMetadata query for stats. |
stats ⚠️ | InventoryStats | Never computed here: always null. Use the inventoryMetadata query's stats. ⚠️ Deprecated: Always null. Use the inventoryMetadata query's stats. |