Skip to main content

InventoryMetadata Object

Description​

Statistical summary of the inventory matching the filters (its pagination is deprecated and always 0).

Declaration​

type InventoryMetadata {
categories: [String]
supplierCodes: [String]
locations: [String]
pagination: Pagination
metadata: InventoryMetadata
stats: InventoryStats
}

Fields​

NameTypeDescription
categories ⚠️[String]No longer computed: always an empty list. ⚠️ Deprecated: Always empty.
supplierCodes ⚠️[String]No longer computed: always an empty list. Use the inventorySuppliers query. ⚠️ Deprecated: Always empty. Use the inventorySuppliers query.
locations ⚠️[String]No longer computed: always an empty list. Use the inventoryLocations query. ⚠️ Deprecated: Always empty. Use the inventoryLocations query.
pagination ⚠️PaginationNo longer computed: count and pages are always 0. Use the inventory query's pagination instead. ⚠️ Deprecated: Use the inventory query's pagination; always 0 here.
metadata ⚠️InventoryMetadataNo longer computed: its categories, supplier codes and locations are always empty. ⚠️ Deprecated: Always empty.
statsInventoryStatsStatistical summary of the inventory including total count, stock count, and listings count.