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

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.

Generated using TypeDoc