Adding or updating a Custom Type on an Address of a Business Unit generates the BusinessUnitAddressCustomTypeSet Message, and removing one generates the BusinessUnitAddressCustomTypeRemoved Message.

interface BusinessUnitSetAddressCustomTypeAction {
    action: "setAddressCustomType";
    addressId: string;
    fields?: FieldContainer;
    type?: TypeResourceIdentifier;
}

Properties

action: "setAddressCustomType"
addressId: string

ID of the address to be extended.

Sets the Custom Fields for the address.

Defines the Type that extends the address with Custom Fields. If absent, any existing Type and Custom Fields are removed from the address.