GET api/v2/products/GetInventoryList?filterCode={filterCode}&warehouseCode={warehouseCode}
Get list of inventory for all warehouses or for a specific warehouse
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
filterCode |
an optional filter code used to filter the result product list |
string |
None. |
warehouseCode |
an optional warehouse code to get inventory for |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of WarehouseInventoryName | Description | Type | Additional information |
---|---|---|---|
InventoryList | Collection of Inventory |
None. |
|
WarehouseCode | string |
None. |
Item Type Definitions
Items - These are standalone products packaged in a single box.
- Examples include a dining chair, a complete nightstand, or even a dining set where all components are packaged together in one box.
- The contents may represent a single product or multiple pieces bundled as a complete set.
Kit Items - Products requiring multiple boxes for complete assembly or functionality.
- Examples include a dining table where the tabletop and legs are boxed separately.
- While the complete product is sold as one SKU, its components are shipped in multiple packages.
Supplement Items - Products that depend on a primary item to function, often enhancing or complementing another product.
- Examples: A dresser mirror (requires a dresser for use) or a trundle (designed to pair with a daybed).
- While sellable individually, they lack standalone utility without the corresponding main product.
Components - Single-box parts of a larger Kit Item, typically not sold or listed independently.
- Examples include the tabletop or legs of a Kit Item dining table.
- Unlike Supplement Items, Components are integral parts of a single product, not optional add-ons.
Combo Sets - Bundles of individually sellable Items curated for convenience or a cohesive design.
- Examples: A dining set combining a Kit Item table with four matching dining chairs (each chair being an Item).
- These sets simplify purchasing and ensure compatibility among the pieces.
Sellable Components - Functionally part of a larger Kit Item but capable of being sold or used on their own.
- Examples: A headboard from a multi-box bed or a standalone glass tabletop for a dining table.
- Unlike Components, Sellable Components retain functional value independently and are offered individually.
Response Formats
application/json, text/json
Sample:
[ { "WarehouseCode": "sample string 1", "InventoryList": [ { "ProductNumber": "sample string 1", "QtyAvail": 2, "Incoming": [ { "Qty": 1, "Eta": "sample string 2" }, { "Qty": 1, "Eta": "sample string 2" } ] }, { "ProductNumber": "sample string 1", "QtyAvail": 2, "Incoming": [ { "Qty": 1, "Eta": "sample string 2" }, { "Qty": 1, "Eta": "sample string 2" } ] } ] }, { "WarehouseCode": "sample string 1", "InventoryList": [ { "ProductNumber": "sample string 1", "QtyAvail": 2, "Incoming": [ { "Qty": 1, "Eta": "sample string 2" }, { "Qty": 1, "Eta": "sample string 2" } ] }, { "ProductNumber": "sample string 1", "QtyAvail": 2, "Incoming": [ { "Qty": 1, "Eta": "sample string 2" }, { "Qty": 1, "Eta": "sample string 2" } ] } ] } ]
application/xml, text/xml
Sample:
<ArrayOfWarehouseInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CoasterAPI.Products"> <WarehouseInventory> <InventoryList> <Inventory> <Incoming> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> </Incoming> <ProductNumber>sample string 1</ProductNumber> <QtyAvail>2</QtyAvail> </Inventory> <Inventory> <Incoming> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> </Incoming> <ProductNumber>sample string 1</ProductNumber> <QtyAvail>2</QtyAvail> </Inventory> </InventoryList> <WarehouseCode>sample string 1</WarehouseCode> </WarehouseInventory> <WarehouseInventory> <InventoryList> <Inventory> <Incoming> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> </Incoming> <ProductNumber>sample string 1</ProductNumber> <QtyAvail>2</QtyAvail> </Inventory> <Inventory> <Incoming> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> <InventoryETA> <Eta>sample string 2</Eta> <Qty>1</Qty> </InventoryETA> </Incoming> <ProductNumber>sample string 1</ProductNumber> <QtyAvail>2</QtyAvail> </Inventory> </InventoryList> <WarehouseCode>sample string 1</WarehouseCode> </WarehouseInventory> </ArrayOfWarehouseInventory>