Log in
Model

GetInStockSourceItemsBySkusAndSortedSource

Magento\InventorySourceSelectionApi\Model\GetInStockSourceItemsBySkusAndSortedSource

What it does

This class retrieves in-stock source items for a given set of product SKUs from multiple inventory sources, sorted by source priority.

Developers use this during source selection algorithms to determine which warehouse or inventory location should fulfill an order based on availability and configured source priorities.

Public Methods

  • execute()