Change triggered by the following update actions:

- [Set Valid From and Until](ctp:api:type:CartDiscountSetValidFromAndUntilAction) on Cart Discounts.
- [Set Valid From and Until](ctp:api:type:DiscountCodeSetValidFromAndUntilAction) on Discount Codes.
- [Set Valid From and Until](ctp:api:type:ProductDiscountSetValidFromAndUntilAction) on Product Discounts.
interface SetValidFromAndUntilChange {
    change: string;
    nextValue: ValidFromAndUntilValue;
    previousValue: ValidFromAndUntilValue;
    type: "SetValidFromAndUntilChange";
}

Hierarchy (View Summary)

Properties

change: string

Type of change on a resource that is similar to the update action it relates to, where possible. It is not a unique identifier for the data structure, for example, the setDescription change can occur with a localized and non-localized representation.

[Records](ctp:history:type:Record) can be filtered by this value using the `changes` query parameter.

Value after the change.

previousValue: ValidFromAndUntilValue

Value before the change.

type: "SetValidFromAndUntilChange"

Unique discriminator value to reliably deserialize the data type.