Log in
Interface

SourceItemsProcessorInterface

Magento\InventoryCatalogApi\Model\SourceItemsProcessorInterface

What it does

This interface defines a contract for processing source items (inventory locations) for a product SKU in Magento's Multi-Source Inventory (MSI) system.

Developers implement this interface to handle saving, deleting, or replacing inventory source assignments when managing product stock across multiple warehouses or locations.

It's typically used during product creation, import processes, or when programmatically updating inventory sources.

Public Methods

  • execute()