This tutorial will explain lazada's inventory calculation logic so that you can better manage your inventory using the API.
Inventory name |
Order Status |
Description |
WithholdQuantity |
Unpaid |
The quantity of inventory that is locked when a buyer submits an order but has not yet paid for it. Seller Center does not show. This quantity will move from SellableQuantity to WithholdQuantity when the order is submitted. When the payment is made, the stock will be moved to OccupyQuantity. After the order remains unpaid for 30 minutes, the inventory will be moved to SellableQuantity. Sellers cannot manually modify. |
OccupyQuantity |
Pending ~ Packed |
When an order is cancelled, the inventory will be moved from OccupyQuantity to SellableQuantity. Seller Center does not show. When the order is updated to RTS status, the inventory will be moved out of OccupyQuantity. Sellers cannot manually modify. |
SellableQuantity |
N/A |
The quantity of stock that can be purchased by buyers. Seller Central shows this inventory This inventory quantity includes the inventory locked by the campaign. The inventory cannot be modified with less than the inventory locked by the campaign. This inventory can be modified using the following API: AdjustSellableQuantity UpdateProduct UpdateSellableQuantity |
totalQuantity |
N/A |
Combination of the above inventory. Seller Center does not show. The inventory cannot be less than WithholdQuantity+OccupyQuantity+channelInventories when the inventory is modified. This inventory can be modified using the following API: UpdatePriceQuantity |
channelInventories |
N/A |
The amount of inventory locked by the campaign after participating in the campaign. This inventory will be removed at the end of the event and will become a modifiable SellableQuantity. |
Usually a seller can only configure one Warehouse Address, which is a single-warehouse seller. However, by applying to the seller's customer service, the seller can set up multiple Warehouse Addresses, which is a multi-warehouse seller.
When a multi-warehouse seller creates multiple warehouses, a new warehouse inventory setting will be added for all items in that store. The inventory of different warehouses is independent.
{ "data": { "skus": [ { "multiWarehouseInventories": [ { "occupyQuantity": 0, "quantity": 100, "totalQuantity": 100, "withholdQuantity": 0, "warehouseCode": "dropshipping", "sellableQuantity": 100 }, { "occupyQuantity": 0, "quantity": 1, "totalQuantity": 1, "withholdQuantity": 0, "warehouseCode": "MY10RV7-WH-10002", "sellableQuantity": 1 }, . ] } ], }, "code": "0", "request_id": "2141276616801444715421373" }
Please open “My Account - Settings - Warehouse” in Seller Central to check the Warehouse Address section.
If the Warehouse Address field has a warehouse address other than dropshipping, then this is a multi-warehouse seller.
You need to call the GetMultiWarehouseBySeller API to get the warehouse information of the corresponding seller. If the GetMultiWarehouseBySeller API responds with an array of modules with more than 1 elements, then this means that it is a multiwarehouse seller.
When calling the GetMultiWarehouseBySeller API, please make sure the addressTypes field is filled with "["warehouse"]", this is a required field and failure to fill in this field may result in inaccurate results.