Log in
Interface

GetDefaultSourceSelectionAlgorithmCodeInterface

Magento\InventorySourceSelectionApi\Api\GetDefaultSourceSelectionAlgorithmCodeInterface

What it does

This interface defines a service contract for retrieving the default source selection algorithm code used in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to determine which algorithm is configured as the default for selecting inventory sources during order fulfillment, allowing them to programmatically access or override the default selection logic.

Public Methods

  • execute()