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

    Interface MyCustomerSetDefaultShippingAddressAction

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

    interface MyCustomerSetDefaultShippingAddressAction {
        action: "setDefaultShippingAddress";
        addressId?: string;
        addressKey?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setDefaultShippingAddress"
    addressId?: string

    id of the Address to become the default shipping address.

    addressKey?: string

    key of the Address to become the default shipping address.