Log in
Model

GetStockIdForByStoreId

Magento\InventoryCatalog\Model\GetStockIdForByStoreId

What it does

This class retrieves the stock ID associated with a specific store in Magento's Multi-Source Inventory (MSI) system.

Developers use this when they need to determine which inventory stock is assigned to a particular store, typically for inventory availability checks or stock management operations across different stores and websites.

Public Methods

  • execute()