Model
GetSourceCodesBySkus
Magento\Inventory\Model\GetSourceCodesBySkus
What it does
This class retrieves all source codes that have inventory associated with given product SKUs.
Developers use this when they need to find which inventory sources stock specific products, such as during order fulfillment or inventory availability checks across multiple warehouses.
Public Methods
- execute()