@gradientedge/commercetools-utils
    Preparing search index...

    Interface Reservation

    A Reservation represents a quantity of inventory that is reserved.

    interface Reservation {
        createdAt: string;
        createdBy?: CreatedBy;
        expiresAt: string;
        id: string;
        inventoryEntry: InventoryEntryReference;
        lastModifiedAt: string;
        lastModifiedBy?: LastModifiedBy;
        lineItemId: string;
        owner: Reference;
        quantity: number;
        state: ReservationState;
        version: number;
    }

    Hierarchy (View Summary)

    Index
    createdAt: string

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

    createdBy?: CreatedBy

    IDs and references that created the Reservation.

    expiresAt: string

    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.

    id: string

    Unique identifier of the Reservation.

    inventoryEntry: InventoryEntryReference

    Reference to the related InventoryEntry used to manage the inventory.

    lastModifiedAt: string

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

    lastModifiedBy?: LastModifiedBy

    IDs and references that last modified the Reservation.

    lineItemId: string

    Unique identifier of the LineItem this Reservation is associated with.

    owner: Reference

    Reference to the owner of the Reservation.

    quantity: number

    The quantity of inventory that is reserved.

    Current state of the Reservation.

    version: number

    Current version of the Reservation.