Log in
Model

SourceItemsDelete

Magento\Inventory\Model\SourceItem\Command\SourceItemsDelete

What it does

This class handles the deletion of multiple source items (inventory records) from Magento's Multi-Source Inventory (MSI) system.

Developers use this service class when they need to programmatically remove inventory assignments from specific sources, ensuring proper error handling and logging during the deletion process.

Public Methods

  • execute()