Log in
Interface

StockSourceLinksSaveInterface

Magento\InventoryApi\Api\StockSourceLinksSaveInterface

What it does

This interface defines a service contract for saving multiple stock-source link associations in bulk.

Developers use this when they need to efficiently link multiple inventory sources to stocks, such as during initial setup or when reconfiguring multi-source inventory relationships.

It provides a performance-optimized way to save multiple links in a single operation instead of saving them individually.

Public Methods

  • execute()