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 Change IsActive update action.
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 Change Name update action.
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 Change Sort Order update action.
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 Change Value update action.
type
String
"ChangeValueChange"
change
String
"changeValue"
previousValue

Value before the change.

nextValue

Value after the change.

Set Custom Field

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

type
String
"SetCustomTypeChange"
change
String
"setCustomType"
previousValue

Value before the change.

nextValue

Value after the change.

Set Key

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

Value before the change.

nextValue
String

Value after the change.

Set Localized Description

type
String
"SetLocalizedDescriptionChange"
change
String
"setDescription"
previousValue

Value before the change.

nextValue

Value after the change.

Set References

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 Set Stores update action.
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

type
String
"SetValidFromAndUntilChange"
change
String
"setValidFromAndUntil"
previousValue

Value before the change.

nextValue

Value after the change.

Set Valid From

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

Value before the change.

nextValue
String

Value after the change.

Set Valid Until

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

Value before the change.

nextValue
String

Value after the change.