BulkInventoryTransfer
Magento\InventoryCatalog\Model\BulkInventoryTransfer
What it does
This class handles the bulk transfer of inventory quantities from one source location to another in Magento's Multi-Source Inventory (MSI) system.
Developers use it when implementing features that move inventory between warehouses or sources, such as stock transfers or rebalancing inventory across locations.
It validates the transfer, updates inventory records, reindexes affected sources, and synchronizes with legacy CatalogInventory tables when the default source is involved.
Public Methods
- execute()