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

    Interface CustomerSetDefaultBillingAddressAction

    Sets the default billing address from addresses. The action adds the id of the specified Address to the billingAddressIds if not contained already. Either addressId or addressKey is required.

    interface CustomerSetDefaultBillingAddressAction {
        action: "setDefaultBillingAddress";
        addressId?: string;
        addressKey?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setDefaultBillingAddress"
    addressId?: string

    id of the Address to become the default billing address.

    addressKey?: string

    key of the Address to become the default billing address.