Log in
Interface

GetAssignedStockIdForWebsiteInterface

Magento\InventorySalesApi\Model\GetAssignedStockIdForWebsiteInterface

What it does

This interface defines a contract for retrieving the stock ID assigned to a specific website in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to determine which inventory stock is managing product availability for a given website, essential for multi-website setups with different inventory sources.

Public Methods

  • execute()