Log in
Interface

DefaultSourceProviderInterface

Magento\InventoryCatalogApi\Api\DefaultSourceProviderInterface

What it does

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

Developers use this when they need to identify or work with the default inventory source, which is essential for single-source inventory operations or as a fallback in multi-source scenarios.

Public Methods

  • getCode()