@gradientedge/commercetools-utils
    Preparing search index...

    Interface CustomerCustomFieldChangedMessagePayload

    Generated after changing an existing Custom Field on a Customer using the Set CustomField update action.

    interface CustomerCustomFieldChangedMessagePayload {
        name: string;
        previousValue?: any;
        type: "CustomerCustomFieldChanged";
        value: any;
    }

    Hierarchy (View Summary)

    Index

    Properties

    name: string

    Name of the Custom Field that changed.

    previousValue?: any

    CustomFieldValue based on the FieldType before the Set CustomField update action. When there has not been a Custom Field with the name on the Customer before, a Customer Custom Field Added Message is generated instead.

    type: "CustomerCustomFieldChanged"
    value: any

    CustomFieldValue based on the FieldType after the Set CustomField update action.