AreProductsSalableForRequestedQtyInterface
Magento\InventorySalesApi\Api\AreProductsSalableForRequestedQtyInterface
What it does
This interface defines a service that checks whether multiple products can be sold in their requested quantities from a specific stock.
Developers use this when validating product availability during checkout or cart operations, considering both physical inventory and reservations.
It returns salability results for each product SKU request against the specified stock ID.
Public Methods
- execute()