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

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

Properties

action: "setAddressCustomType"
addressId: string

ID of the address to be extended.

Sets the Custom Fields 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.