Log in
Interface

GetSalableQtyInterface

Magento\InventorySalesApi\Model\GetSalableQtyInterface

What it does

This interface defines a service for calculating the actual quantity of a product available for sale by SKU and stock ID.

It considers existing reservations and the out-of-stock threshold (minimum quantity) but does not check stock status.

Developers use this when they need the raw salable quantity calculation for inventory management operations.

Public Methods

  • execute()