Log in
Interface

ReplaceSalesChannelsForStockInterface

Magento\InventorySalesApi\Model\ReplaceSalesChannelsForStockInterface

What it does

This interface defines a contract for replacing the sales channels assigned to a specific stock in Magento's Multi-Source Inventory system.

Developers would implement this interface to customize how sales channels (like websites) are linked to inventory stocks, enabling different channel assignment strategies for managing which inventory sources serve which storefronts.

Public Methods

  • execute()