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

    Interface CannotCreateReservationWarning

    Contained in responses to a Cart operation. Indicates that a reservation could not be created for the specified Product.

    interface CannotCreateReservationWarning {
        code: "CannotCreateReservation";
        message: string;
        productId: string;
        quantity: number;
        sku?: string;
        supplyChannel?: string;
    }

    Hierarchy (View Summary)

    Index
    code: "CannotCreateReservation"

    Identifier for the type of warning.

    message: string

    "Failed to create a reservation for product $productId (SKU: $sku, Supply Channel: $supplyChannel) with quantity $quantity."

    productId: string

    The ID of the Product for which the reservation could not be created.

    quantity: number

    The quantity for which the reservation could not be created.

    sku?: string

    The SKU of the Product Variant for which the reservation could not be created.

    supplyChannel?: string

    The ID of the Supply Channel for which the reservation could not be created.