Change triggered by the Set Variant Selection update action.

interface SetVariantSelectionChange {
    change: string;
    nextValue: ProductVariantSelection;
    previousValue: ProductVariantSelection;
    product: Reference;
    type: "SetVariantSelectionChange";
}

Properties

change: string

Value after the change.

Value before the change.

product: Reference

Reference to the updated Product.

type: "SetVariantSelectionChange"