Model
GetSourceItemsBySkuAndSourceCodes
Magento\InventoryCatalog\Model\GetSourceItemsBySkuAndSourceCodes
What it does
This class retrieves inventory source items for a specific product SKU from multiple warehouse/source locations.
Developers use it when they need to check inventory availability across specific sources, such as when determining where a product can be fulfilled from or when syncing inventory data between systems.
Public Methods
- execute()