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

    Interface CartDiscountChangeIsActiveAction

    interface CartDiscountChangeIsActiveAction {
        action: "changeIsActive";
        isActive: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "changeIsActive"
    isActive: boolean

    New value to set. If set to true, the Discount will be applied to the Cart.

    If the limit for active Cart Discounts is reached, a [MaxCartDiscountsReached](ctp:api:type:MaxCartDiscountsReachedError) error is returned.