Log in
Interface

GetSourceCodesBySkusInterface

Magento\InventoryApi\Model\GetSourceCodesBySkusInterface

What it does

This interface defines a service for retrieving source codes associated with product SKUs in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to find all warehouse or inventory source locations that stock specific products.

It accepts an array of product SKUs and returns the corresponding source codes where those products are available.

Public Methods

  • execute()