Log in
Interface

ItemRequestInterface

Magento\InventorySourceSelectionApi\Api\Data\ItemRequestInterface

What it does

This interface defines a data structure for requesting inventory quantities for specific products during source selection.

Developers use this to specify which product SKU and how much quantity is needed when determining which inventory sources should fulfill an order.

It's part of Magento's Multi-Source Inventory (MSI) system for managing stock across multiple warehouses or locations.

Public Methods

  • getSku()
  • getQty()
  • setSku()
  • setQty()
  • getExtensionAttributes()
  • setExtensionAttributes()