All things Shopify and commerce
I am creating a webhook that is triggered for the 'orders/paid' topic. From there, I add the order to an internal ERP, which returns some fields for the order. I am adding these fields to the 'note_attributes' parameter of the order using the Admin REST API. However, I need to include these fields before the order confirmation email is sent. Is it possible to achieve this?
In Shopify, the order confirmation email is typically sent after the order has been processed and confirmed. Unfortunately, Shopify does not provide a built-in way to customize or delay the sending of confirmation emails directly.
However, you can work around this.
Here's a suggested approach:
Create a Draft Order:
Send Confirmation Email for Draft Order:
This way, you have control over when the confirmation email is sent because you control when the draft order is marked as completed.
We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024