Log in
Interface

StockSourceLinksDeleteInterface

Magento\InventoryApi\Api\StockSourceLinksDeleteInterface

What it does

This interface defines a service for deleting multiple stock-source links in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to remove associations between inventory stocks and their source locations in bulk, which is more performance-efficient than deleting links individually.

It's commonly used when reconfiguring warehouse assignments or cleaning up inventory source relationships.

Public Methods

  • execute()