Interface
GetStockBySalesChannelInterface
Magento\InventorySalesApi\Api\GetStockBySalesChannelInterface
What it does
This interface defines a service that retrieves the inventory stock assigned to a specific sales channel (like a website or store).
Developers use this when they need to determine which stock source should be used for inventory calculations for a particular sales channel in a multi-source inventory setup.
Public Methods
- execute()