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

    Interface LineItemQuantityAboveLimitError

    Returned when attempting to create or update a Cart with a Line Item whose quantity exceeds the maxCartQuantity limit defined in the InventoryEntry for that Line Item's SKU.

    interface LineItemQuantityAboveLimitError {
        code: "LineItemQuantityAboveLimit";
        lineItem?: string;
        maxCartQuantity: number;
        message: string;
        quantity: number;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index
    code: "LineItemQuantityAboveLimit"

    Error identifier.

    lineItem?: string

    Reference to the Line Item that caused the error.

    maxCartQuantity: number

    The maximum quantity allowed for this Line Item.

    message: string

    "Quantity '$quantity' greater than maximum '$maxCartQuantity'."

    quantity: number

    The quantity that was requested.