Log in
Interface

PlaceReservationsForSalesEventInterface

Magento\InventorySalesApi\Api\PlaceReservationsForSalesEventInterface

What it does

This interface defines a service that creates inventory reservations when sales events occur in Magento 2.

Developers use this to reserve stock quantities when orders are placed, ensuring accurate inventory tracking across multiple sales channels.

It's a critical part of Magento's Multi-Source Inventory (MSI) system that prevents overselling by locking inventory during the order process.

Public Methods

  • execute()