Change types
Change Cart Discounts
typeString | "ChangeCartDiscountsChange" |
changeString | "changeCartDiscounts" |
previousValueArray of Reference | Value before the change. |
nextValueArray of Reference | Value after the change. |
addedItemsArray of Reference | Elements added to the array. |
removedItemsArray of Reference | Elements removed from the array. |
Change Groups
typeString | "ChangeGroupsChange" |
changeString | "changeGroups" |
previousValueArray of String | Value before the change. |
nextValueArray of String | Value after the change. |
addedItemsArray of String | Elements added to the array. |
removedItemsArray of String | Elements removed from the array. |
Change Is Active
Change triggered by the following update actions:
- Change IsActive on Cart Discounts.
- Change IsActive on Discount Codes.
- Change IsActive on Product Discounts.
typeString | "ChangeIsActiveChange" |
changeString | "changeIsActive" |
previousValueBoolean | Value before the change. |
nextValueBoolean | Value after the change. |
Set Application Version
This change is initiated by background processes when a discount is applied through a Discount Code.
typeString | "SetApplicationVersionChange" |
changeString | "setApplicationVersion" |
previousValueInt | Value before the change. |
nextValueInt | Value after the change. |
Set Cart Predicate
typeString | "SetCartPredicateChange" |
changeString | "setCartPredicate" |
previousValueString | Value before the change. |
nextValueString | Value after the change. |
Set Custom Field
Change triggered by the following update actions:
- Set CustomField on Cart Discounts.
- Set CustomField on Categories.
- Set CustomField on Channels.
- Set CustomField on Customers.
- Set CustomField on Customer Groups.
- Set CustomField on Discount Codes.
- Set CustomField on Inventories.
- Set CustomField on Orders.
- Set CustomField on Order Edits.
- Set CustomField on Payments.
- Set CustomField on Product Selections.
- Set CustomField on Quotes.
- Set CustomField on Quote Requests.
- Set CustomField on Reviews.
- Set CustomField on Shopping Lists.
- Set CustomField on Staged Orders.
- Set CustomField on Staged Quotes.
- Set CustomField on Stores.
typeString | "SetCustomFieldChange" |
changeString | "setCustomField" |
previousValueAny | Value before the change. |
nextValueAny | Value after the change. |
nameString | Name of the Custom Field. |
customTypeIdString | id of the referenced Type. |
Set Custom Type
Change triggered by the following update actions:
- Set Custom Type on Cart Discounts.
- Set Custom Type on Categories.
- Set Custom Type on Channels.
- Set Custom Type on Customers.
- Set Custom Type on Customer Groups.
- Set Custom Type on Discount Codes.
- Set Custom Type on Inventories.
- Set Custom Type on Orders.
- Set Custom Type on Order Edits.
- Set Custom Type on Staged Orders.
- Set Custom Type on Payments.
- Set Custom Type on Product Selections.
- Set Custom Type on Quotes.
- Set Custom Type on Staged Quotes.
- Set Custom Type on Quote Requests.
- Set Custom Type on Reviews.
- Set Custom Type on Shopping Lists.
- Set Custom Type on Stores.
typeString | "SetCustomTypeChange" |
changeString | "setCustomType" |
previousValue | Value before the change. |
nextValue | Value after the change. |
Set Key
Change triggered by the following update actions:
- Set Key on Cart Discounts.
- Set Key on Categories.
- Set Key on Customers.
- Set Key on Customer Groups.
- Set Key on Discount Codes.
- Set Key on Inventories.
- Set Key on Payments.
- Set Key on Products.
- Set Key on Product Discounts.
- Set Key on Product Selections.
- Set Key on Product Types.
- Set Key on Reviews.
- Set Key on Shopping Lists.
- Set Key on Zones.
typeString | "SetKeyChange" |
changeString | "setKey" |
previousValueString | Value before the change. |
nextValueString | Value after the change. |
Set Localized Description
Change triggered by the following update actions:
- Set Description on Cart Discounts.
- Set Description on Categories.
- Set Description on Discount Codes.
- Set Description on Products.
- Set Description on Product Discounts.
- Set Description on Shopping Lists.
- Set Description on States.
- Set Description on Types.
typeString | "SetLocalizedDescriptionChange" |
changeString | "setDescription" |
previousValue | Value before the change. |
nextValue | Value after the change. |
Set Localized Name
Change triggered by the following update actions:
- Set Name on Discount Codes.
- Set State Name on States.
- Set Name on Stores.
typeString | "SetLocalizedNameChange" |
changeString | "setName" |
previousValue | Value before the change. |
nextValue | Value after the change. |
Set Max Applications
typeString | "SetMaxApplicationsChange" |
changeString | "setMaxApplications" |
previousValueInt | Value before the change. |
nextValueInt | Value after the change. |
Set Max Applications Per Customer
typeString | "SetMaxApplicationsPerCustomerChange" |
changeString | "setMaxApplicationsPerCustomer" |
previousValueInt | Value before the change. |
nextValueInt | Value after the change. |
Set References
Change is triggered when an entity referenced in a discount predicate is modified during the following actions:
- Change Predicate on Product Discounts
- Change Cart Predicate on Cart Discounts
- Change Cart Predicate on Discount Codes
Set Valid From And Until
Change triggered by the following update actions:
- Set Valid From and Until on Cart Discounts.
- Set Valid From and Until on Discount Codes.
- Set Valid From and Until on Product Discounts.
typeString | "SetValidFromAndUntilChange" |
changeString | "setValidFromAndUntil" |
previousValue | Value before the change. |
nextValue | Value after the change. |
Set Valid From
Change triggered by the following update actions:
- Set Valid From on Cart Discounts.
- Set Valid From on Discount Codes.
- Set Valid From on Product Discounts.
typeString | "SetValidFromChange" |
changeString | "setValidFrom" |
previousValueString | Value before the change. |
nextValueString | Value after the change. |
Set Valid Until
Change triggered by the following update actions:
- Set Valid Until on Cart Discounts.
- Set Valid Until on Discount Codes.
- Set Valid Until on Product Discounts.
typeString | "SetValidUntilChange" |
changeString | "setValidUntil" |
previousValueString | Value before the change. |
nextValueString | Value after the change. |