Change triggered by the following update actions:

- [Change IsActive](ctp:api:type:CartDiscountChangeIsActiveAction) on Cart Discounts.
- [Change IsActive](ctp:api:type:DiscountCodeChangeIsActiveAction) on Discount Codes.
- [Change IsActive](ctp:api:type:ProductDiscountChangeIsActiveAction) on Product Discounts.
interface ChangeIsActiveChange {
    change: string;
    nextValue: boolean;
    previousValue: boolean;
    type: "ChangeIsActiveChange";
}

Properties

change: string
nextValue: boolean

Value after the change.

previousValue: boolean

Value before the change.

type: "ChangeIsActiveChange"