Log in
Interface

SourceDeductionServiceInterface

Magento\InventorySourceDeductionApi\Model\SourceDeductionServiceInterface

What it does

This interface defines the contract for deducting inventory quantities from specific sources in Magento's Multi-Source Inventory (MSI) system.

Developers implement or use this interface when they need to reduce stock levels at warehouse locations after order placement, shipment creation, or other inventory-reducing operations.

The execute method processes a deduction request that specifies which items and quantities to remove from which inventory sources.

Public Methods

  • execute()