Log in
Model

GetStockItemConfiguration

Magento\InventoryConfiguration\Model\GetStockItemConfiguration

What it does

This class retrieves stock item configuration for a specific product SKU and stock ID in Magento's Multi-Source Inventory (MSI) system.

Developers use it when they need to access inventory settings like quantity thresholds, backorder settings, and stock status for a product within a particular stock.

It validates that the product is properly assigned to the requested stock before returning the configuration.

Public Methods

  • execute()