Interface
IsProductSalableForRequestedQtyInterface
Magento\InventorySalesApi\Api\IsProductSalableForRequestedQtyInterface
What it does
This interface defines a service to check if a specific quantity of a product is available for sale in a given stock, considering both physical inventory and reservations.
Developers would use this when validating product availability before adding items to cart or during checkout, though it's deprecated in favor of the bulk API for better performance when checking multiple products.
Public Methods
- execute()