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

    Interface CartDiscountChangeValueAction

    Changes the CartDiscountValue for relative, absolute and fixed price CartDiscounts. Changing to Gift Line Item is not supported.

    interface CartDiscountChangeValueAction {
        action: "changeValue";
        value: CartDiscountValueDraft;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "changeValue"

    New value to set. When trying to set a CartDiscountValueGiftLineItemDraft an InvalidInput error is returned.