Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
execute (string $sku, int $stockId) | |
Service which returns Quantity of products available to be sold by Product SKU and Stock Id. This service calculates the salable qty taking into account existing reservations for given sku and stock id and subtracting min qty (a.k.a. "Out-of-Stock Threshold")
@api
Definition at line 17 of file GetProductSalableQtyInterface.php.
execute | ( | string | $sku, |
int | $stockId | ||
) |
Get Product Quantity for given SKU and Stock
string | $sku | |
int | $stockId |
Implemented in GetProductSalableQty.