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

    Interface MyCustomerSetDefaultBillingAddressAction

    Sets the default billing address from addresses. If the address is not currently a billing address, it is added to billingAddressIds. Either addressId or addressKey is required.

    interface MyCustomerSetDefaultBillingAddressAction {
        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.