Log in
Interface

DeleteByIdInterface

Magento\Inventory\Model\Stock\Command\DeleteByIdInterface

What it does

This interface defines a command for deleting stock records by their ID in Magento's Multi-Source Inventory (MSI) system.

Developers should implement this interface to customize stock deletion behavior, though it's typically called through the StockRepository rather than directly.

It serves as a service provider interface (SPI) for extending inventory management functionality.

Public Methods

  • execute()