Interface CustomerAddressCustomFieldAddedMessagePayload

Generated after adding a Custom Field to an Address of a Customer using the Set CustomField in Address update action. If a Custom Field already exists with the same name, a CustomerAddressCustomFieldChanged Message is generated instead.

interface CustomerAddressCustomFieldAddedMessagePayload {
    addressId?: string;
    name: string;
    type: "CustomerAddressCustomFieldAdded";
    value: any;
}

Properties

addressId?: string

id of the Address to which the Custom Field was added.

name: string

Name of the Custom Field that was added.

type: "CustomerAddressCustomFieldAdded"
value: any

The added CustomFieldValue based on the FieldType.