Cart Discounts Change Types

Change types that represent data modifications made to the Cart Discounts entity.

Change types

Change Cart Predicate

Change triggered by the Change Cart Predicate update action.
type
String
"ChangeCartPredicateChange"
change
String
"changeCartPredicate"
previousValue
String

Value before the change.

nextValue
String

Value after the change.

Change Is Active

Change triggered by the following update actions:

type
String
"ChangeIsActiveChange"
change
String
"changeIsActive"
previousValue
Boolean

Value before the change.

nextValue
Boolean

Value after the change.

Change Localized Name

Change triggered by the following update actions:

type
String
"ChangeLocalizedNameChange"
change
String
"changeName"
previousValue

Value before the change.

nextValue

Value after the change.

Change Requires Discount Code

Change triggered by the Change Requires DiscountCode update action.
type
String
"ChangeRequiresDiscountCodeChange"
change
String
"changeRequiresDiscountCode"
previousValue
Boolean

Value before the change.

nextValue
Boolean

Value after the change.

Change Sort Order

Change triggered by the following update actions:

type
String
"ChangeSortOrderChange"
change
String
"changeSortOrder"
previousValue
String

Value before the change.

nextValue
String

Value after the change.

Change Stacking Mode

Change triggered by the Change Stacking Mode update action.
type
String
"ChangeStackingModeChange"
change
String
"changeStackingMode"
previousValue

Value before the change.

nextValue

Value after the change.

Change Target

Change triggered by the Change Target update action.
type
String
"ChangeTargetChange"
change
String
"changeTarget"
previousValue

Value before the change.

nextValue

Value after the change.

Change Value

Change triggered by the following update actions:

type
String
"ChangeValueChange"
change
String
"changeValue"
previousValue

Value before the change.

nextValue

Value after the change.

Set Custom Field

Change triggered by the following update actions:

type
String
"SetCustomFieldChange"
change
String
"setCustomField"
previousValue
Any

Value before the change.

nextValue
Any

Value after the change.

name
String
Name of the Custom Field.
customTypeId
String
id of the referenced Type.

Set Custom Type

Change triggered by the following update actions:

type
String
"SetCustomTypeChange"
change
String
"setCustomType"
previousValue

Value before the change.

nextValue

Value after the change.

Set Key

Change triggered by the following update actions:

type
String
"SetKeyChange"
change
String
"setKey"
previousValue
String

Value before the change.

nextValue
String

Value after the change.

Set Localized Description

Change triggered by the following update actions:

type
String
"SetLocalizedDescriptionChange"
change
String
"setDescription"
previousValue

Value before the change.

nextValue

Value after the change.

Set References

Change is triggered when an entity referenced in a discount predicate is modified during the following actions:

type
String
"SetReferencesChange"
change
String
"setReferences"
addedItems
Array of Reference

Elements added to the array.

removedItems
Array of Reference

Elements removed from the array.

previousValue
Array of Reference

Value before the change.

nextValue
Array of Reference

Value after the change.

Set Stores

Change triggered by the following update actions:

type
String
"SetStoresChange"
change
String
"setStores"
previousValue
Array of Reference

Value before the change.

nextValue
Array of Reference

Value after the change.

addedItems
Array of KeyReference

Elements added to the array.

removedItems
Array of KeyReference

Elements removed from the array.

Set Valid From And Until

Change triggered by the following update actions:

type
String
"SetValidFromAndUntilChange"
change
String
"setValidFromAndUntil"
previousValue

Value before the change.

nextValue

Value after the change.

Set Valid From

Change triggered by the following update actions:

type
String
"SetValidFromChange"
change
String
"setValidFrom"
previousValue
String

Value before the change.

nextValue
String

Value after the change.

Set Valid Until

Change triggered by the following update actions:

type
String
"SetValidUntilChange"
change
String
"setValidUntil"
previousValue
String

Value before the change.

nextValue
String

Value after the change.