Log in
Model

GetStockSourceLinks

Magento\Inventory\Model\StockSourceLink\Command\GetStockSourceLinks

What it does

This class retrieves stock-source link records based on search criteria, returning a collection of links between stocks and inventory sources.

Developers use this when they need to query which inventory sources are assigned to specific stocks, such as when displaying source assignments or calculating inventory availability across multiple locations.

Public Methods

  • execute()