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

    Interface CannotUpdateReservationWarning

    Contained in responses to a Cart operation. Indicates that the reservation for a Line Item could not be updated to the requested quantity. The existing reserved amount remains unchanged.

    interface CannotUpdateReservationWarning {
        code: "CannotUpdateReservation";
        lineItemId: string;
        message: string;
        productId: string;
        requestedQuantity: number;
        reservedQuantity: number;
        sku?: string;
        supplyChannel?: string;
    }

    Hierarchy (View Summary)

    Index
    code: "CannotUpdateReservation"

    Identifier for the type of warning.

    lineItemId: string

    The ID of the Line Item.

    message: string

    "Failed to update the reservation for line item $lineItemId (Product ID: $productId, SKU: $sku, Supply Channel: $supplyChannel) to a quantity of $requestedQuantity. The reserved amount is still $reservedQuantity."

    productId: string

    The ID of the Product associated with the Line Item.

    requestedQuantity: number

    The quantity that was requested for the Line Item.

    reservedQuantity: number

    The quantity that remains reserved for the Line Item.

    sku?: string

    The SKU of the Product Variant associated with the Line Item.

    supplyChannel?: string

    The ID of the Supply Channel associated with the reservation.