{"section":"tutorials","requestedLocale":"en","requestedSlug":"updating-the-quantity-of-items-in-inventory","locale":"en","slug":"updating-the-quantity-of-items-in-inventory","path":"docs/en/tutorials/shipping/inventory/updating-the-quantity-of-items-in-inventory.md","branch":"main","content":"[Inventory](/en/docs/tutorials/warehouse) updates occur when a store changes the quantity of units of an SKU. This update occurs via **[Inventory](/en/docs/tutorials/managing-stock-items)** on the VTEX platform.\n\nThere are three ways to update inventory items:\n\n* **Via API:** you can use the [Update inventory for SKUs and warehouses API](https://developers.vtex.com/docs/api-reference/logistics-api#put-/api/logistics/pvt/inventory/skus/-skuId-/warehouses/-warehouseId-).\n* **Via Admin, using a template:** you can download the inventory template generated by the VTEX platform and then import the completed template. This allows you to update data in bulk. Learn more in the article [Importing and exporting the inventory template](/en/docs/tutorials/importing-and-exporting-an-inventory-spreadsheet).\n* **Via Admin, manually:** you can manually update one SKU at a time, following the guidelines below.\n\nInventory updates occur if there is a difference in the new quantity of items. For an inventory update to occur, via VTEX Admin or via API, the quantity of items after the change must be different from the quantity of items available at the moment. The platform also accepts the update when the inventory has an [acknowledged reservation](/en/docs/tutorials/how-does-reservation-work#acknowledged-reservation), even when the quantity of available items corresponds to the updated quantity.\n\nTo update inventory items manually in Admin, follow the steps below.\n\n1. In the VTEX Admin, go to **Catalog > Inventory > Inventory management**, or type *Inventory management* in the search bar at the top of the page.  \n2. Search for a product or combine filters to find the items you want. Learn more about how to use the filters in the article [Inventory management](/en/docs/tutorials/managing-stock-items#filters).  \n3. Fill in the `Update count` field with the updated quantity of items.   \n4. A preview of the update will be displayed. Check the count.   \n5. Click on `Save`.\n\nTo make SKUs available, include the available units of each SKU for each corresponding inventory. The updated quantity must also correspond to the quantity of items available in your inventory. This way, you ensure that the SKUs available in your store are actually available for sale. \n\nAn order can have an active SKU reservation. If the product has not been shipped, it will be considered a **reserved item**. Learn more about invoiced orders and reservations. Orders with reserved SKUs will continue to be listed as reserved, and their sale will remain unavailable. Learn more about [how reservations work](/en/docs/tutorials/how-does-reservation-work).\n\n## Negative stock\n\nThere may be a negative SKU quantity in the inventory. If there is a negative number in the **Available** column on the Inventory management page, this means an item has a negative stock, that is, there are more reserved items than the total quantity of items registered in the inventory.\n\n_Available units = updated quantity of units - reserved units_\n\nNegative stock usually occurs when an SKU corresponding to an order that already has a reservation is removed from inventory. To avoid this situation, it is important that the SKU quantity update takes place  once the [status of the orders](/en/docs/tutorials/order-flow-and-status) has changed from `Preparing for delivery`. At this point, the platform has already [acknowledged the reservation](/en/docs/tutorials/how-does-reservation-work#acknowledged-reservation), and it won't interpret the SKU quantity update as a reduction in the quantity of units of a product that hasn't been sold yet.\n\n![Inventory management](https://cdn.statically.io/gh/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/shipping/inventory/updating-the-quantity-of-items-in-inventory_1.gif)\n\n## Related articles\n\n* [Inventory management](/en/docs/tutorials/managing-stock-items)\n* [How reservations work](/en/docs/tutorials/how-does-reservation-work)"}