Reservations

Reservations temporarily reserve available quantity for customers when they add a Line Item to a Cart.

For a comprehensive overview of reservations, including how to configure and use them, see the Reservations section in the Inventory overview.

Representations

Reservation

A Reservation represents a quantity of inventory that is reserved.

id​
String​

Unique identifier of the Reservation.

version​
Int64​

Current version of the Reservation.

expiresAt​
Date and time (UTC) the Reservation will no longer be valid. It can take a few minutes after expiry for the state to be updated to Expired and the stock to be released.
inventoryEntry​
Reference to the related InventoryEntry used to manage the inventory.
quantity​
Int64​

The quantity of inventory that is reserved.

owner​

Reference to the owner of the Reservation.

lineItemId​
String​

Unique identifier of the LineItem this Reservation is associated with.

state​

Current state of the Reservation.

createdAt​

Date and time (UTC) the Reservation was initially created.

createdBy​

IDs and references that created the Reservation.

lastModifiedAt​

Date and time (UTC) the Reservation was last updated.

lastModifiedBy​

IDs and references that last modified the Reservation.

Reservation State

Status of the Reservation.
Created
The availableQuantity of the item has been reduced by the reserved quantity, but the quantityOnStock remains unchanged.
Updated
The reservation has been updated. If the quantity of an item changed, the availableQuantity is increased or decreased accordingly, while the quantityOnStock remains unchanged.
Released
The reserved quantity of the item has been released. The availableQuantity is increased accordingly.
Expired
The reservation has expired and the availableQuantity is increased accordingly. Reservation expirations are eventually consistent, meaning it can take a few minutes for the status to update after expiration.
Committed
The quantity of the item has been allocated for fulfillment. The quantityOnStock has been reduced by the reserved quantity.

ReservationReference

id​
String​
Unique identifier of the referenced Reservation.
typeId​
reservation
obj​
Contains the representation of the expanded Reservation. Only present in responses to requests with Reference Expansion for Reservations.