This action updates the customerEmail on the Order, but it does not change the Customer email on the Cart the Order has been created from.

Produces the [Order Customer Email Set](ctp:api:type:OrderCustomerEmailSetMessage) Message.
interface OrderSetCustomerEmailAction {
    action: "setCustomerEmail";
    email?: string;
}

Properties

Properties

action: "setCustomerEmail"
email?: string

Value to set. If empty, any existing value is removed.