GetSourcesAssignedToStockOrderedByPriorityInterface
Magento\InventoryApi\Api\GetSourcesAssignedToStockOrderedByPriorityInterface
What it does
This interface defines a service contract for retrieving all inventory sources assigned to a specific stock, ordered by their priority level.
Developers use this when they need to determine which warehouses or locations should be checked first when fulfilling orders for a particular stock.
The priority ordering ensures proper inventory allocation logic in multi-source inventory scenarios.
Public Methods
- execute()