Log in
Interface

GetStockItemsDataInterface

Magento\InventorySalesApi\Model\GetStockItemsDataInterface

What it does

This interface defines a contract for retrieving inventory stock item data for multiple products by their SKUs and stock ID.

Developers use this when they need to check product quantities and salability status across different stock sources in a Multi-Source Inventory (MSI) implementation.

It returns an array containing SKU, quantity, and is_salable information for each requested product.

Public Methods

  • execute()