Model
UpdateInventory
Magento\InventoryCatalog\Model\UpdateInventory
What it does
This class handles asynchronous inventory updates for products in Magento 2's Multi-Source Inventory (MSI) system.
Developers use it to update stock quantities and status across both legacy CatalogInventory tables and new MSI source items, while triggering necessary reindexing operations.
It's particularly useful when processing bulk inventory changes or during import operations.
Public Methods
- execute()