Log in
Interface

SourceItemsDeleteInterface

Magento\InventoryApi\Api\SourceItemsDeleteInterface

What it does

This interface defines a service contract for deleting multiple inventory source items in bulk.

Developers use this when they need to remove inventory records from specific warehouse locations or sources in a performance-efficient way, rather than deleting items one at a time.

It's part of Magento's Multi-Source Inventory (MSI) feature and throws exceptions if the input is invalid or the deletion operation fails.

Public Methods

  • execute()