Inventory
The Eshopbox Inventory API allows you to view the stock for the products in your project catalog.
Attributes
Sample Object
Attribute | Type | Description |
sku | string | A SKU is a unique code that identifies characteristics of each product, source: client |
warehouse | string | Fulfillment center |
sellable | number | Inventory which is available for sale |
nonSellable | number | Inventory that cannot be made available for sale. It is because Eshopbox rejected it during the inspection |
inwardInProcess | number | Inventory for which inward is in process |
outwardInProcess | number | Inventory for which outward is in process |
{
"0SGAT12SG25F": {
"warehouseInventories": {
"GGN": {
"outwardInProcess": 4,
"sellable": 3,
"inwardInProcess": 2,
"nonSellable": 7
},
"BNG": {
"outwardInProcess": 4,
"sellable": 5,
"inwardInProcess": 1,
"nonSellable": 0
}
},
"inventories": {
"outwardInProcess": 8,
"sellable": 8,
"inwardInProcess": 3,
"nonSellable": 7
}
}
}
Here, key is the ESIN of the product and it's value itself has two keys, warehouseInventories and inventories.
warehouseInventories has the warehouse wise inventories of all four statuses,
inventories has the combined inventories on all warehouses of all four statuses.
Last modified 2yr ago