Product Selections Change Types

Change types that represent data modifications made to the Product Selections entity.

Change types

Add Product

Change triggered by the Add Product update action.
type
String
"AddProductChange"
change
String
"addProduct"
nextValue

Value after the change.

variantSelection
The Product Variants included in the Product Selection.

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.

Exclude Product

Change triggered by the Exclude Product update action.
type
String
"ExcludeProductChange"
change
String
"excludeProduct"
variantExclusion
nextValue

Value after the change.

Remove Product

Change triggered by the Remove Product update action.
type
String
"RemoveProductChange"
change
String
"removeProduct"
previousValue

Value before 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 Product Count

This change is initiated by background processes after the Add Product or Remove Product update action is performed.
type
String
"SetProductCountChange"
change
String
"setProductCount"
previousValue
Int

Value before the change.

nextValue
Int

Value after the change.

Set Variant Exclusion

Change triggered by the Set Variant Exclusion update action.
type
String
"SetVariantExclusionChange"
change
String
"setVariantExclusion"
product
Reference to the updated Product.
previousValue

Value before the change.

nextValue

Value after the change.

Set Variant Selection

Change triggered by the Set Variant Selection update action.
type
String
"SetVariantSelectionChange"
change
String
"setVariantSelection"
previousValue

Value before the change.

nextValue

Value after the change.

product
Reference to the updated Product.