BulkSourceUnassign
Magento\InventoryCatalog\Model\BulkSourceUnassign
What it does
This class handles the bulk unassignment of inventory sources from multiple products in Magento's Multi-Source Inventory (MSI) system.
Developers use this when they need to remove source assignments from products by SKU in batch operations, such as during inventory reorganization or source decommissioning.
It validates the unassignment request, performs the bulk operation, and triggers reindexing for both MSI and legacy catalog inventory.
Public Methods
- execute()