Log in
Model

GetSourceItemBySourceCodeAndSku

Magento\InventorySourceDeductionApi\Model\GetSourceItemBySourceCodeAndSku

What it does

This class retrieves a specific inventory source item by matching both the source code (warehouse/location identifier) and product SKU.

Developers use this when they need to check or access inventory details for a particular product at a specific inventory source, such as during order fulfillment or stock deduction operations.

Public Methods

  • execute()