Model
AppendReservations
Magento\InventorySales\Model\AppendReservations
What it does
This model handles the creation of inventory reservations when an order is placed in Magento 2's Multi-Source Inventory (MSI) system.
Developers use this class to ensure ordered product quantities are reserved from available stock, preventing overselling by deducting inventory from the appropriate stock based on the website and creating a sales event record for tracking.
Public Methods
- reserve()