Log in
Repository

SourceItemRepositoryInterface

Magento\InventoryApi\Api\SourceItemRepositoryInterface

What it does

This repository interface provides read-only access to Source Items in Magento's Multi-Source Inventory system.

Developers use it to search and retrieve inventory source items (product stock at specific sources) using search criteria.

Note that saving/updating requires SourceItemsSaveInterface, and there's no single get method since source items are identified by compound keys (SKU and source code).

Public Methods

  • getList()