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

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.

Generated using TypeDoc