Log in
Model

Reservation

Magento\InventoryReservations\Model\Reservation

What it does

This class represents an inventory reservation in Magento 2's Multi-Source Inventory (MSI) system.

Developers use this model to track temporary stock holds during order placement, ensuring inventory quantities are reserved until order completion or cancellation.

It's particularly useful when implementing custom inventory management features or integrating with third-party systems that need to create or read inventory reservations.

Public Methods

  • getReservationId()
  • getStockId()
  • getSku()
  • getQuantity()
  • getMetadata()