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

    Interface MyBusinessUnitSetAddressCustomTypeAction

    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;
    }

    Hierarchy (View Summary)

    Index
    action: "setAddressCustomType"
    addressId: string

    ID of the address to be extended.

    Object containing the Custom Fields fields for the address.

    Required if at least one Custom Field is defined as required in the `fieldDefinitions` of the referenced [Type](ctp:api:type:Type).
    

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