Log in
Model

StockSourceLinksDelete

Magento\Inventory\Model\StockSourceLink\Command\StockSourceLinksDelete

What it does

This class handles the deletion of multiple stock-source link associations in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to remove the relationships between stocks and sources, such as when reorganizing inventory sources or removing sources from a stock's pool.

It validates input data and provides error handling with logging for failed deletion operations.

Public Methods

  • execute()