Send same Order Placed email to two separate users
Summary:
We have a scenario where one user, acting as an agent for another user, places an order on behalf of second user on the storefront.
Agent user receives the order confirmation email as they placed the order but we want the same order confirmation email to be sent to the second user on whose behalf the order was placed.
Content (please ensure you mask any confidential information):
I'm trying to use sendEmailNotification (/ccadmin/v1/emailNotifications) endpoint to achieve that. I am working on an SSE to configure as one of the urls for Order Submit webhook so that the order data is captured in SSE and can be used to make a call to sendEmailNotification endpoint for placed_order_v1 template. While comparing the webhook request with place order email request, I see that both represent the data differently