Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Modify Order Confirmation Template with API

Modify Order Confirmation Template with API

SaudiSystems
Shopify Partner
1 0 2

Hi everyone,

 

 I have built an app hosted on AWS which is working properly and ready to be listed. However, i checked the docs for API and community to find the correct way for my APP to automatically modify the order confirmation email template for all stores that install your Shopify app. My end goal is to add a line just after the total or before the payment method like to following "<img width="100px" src="https://storename.com/db/aa_ {{ order_name | remove_first: '#'}}.png" />" This works fine if i place the code in Store Settings >Notification > Customize email templates but i need my app to do the job on all stores on install.

 

Thank you

Replies 3 (3)

ShopifyDevSup
Shopify Staff
1453 239 531

Hi @SaudiSystems 👋

 

At this time, Admin API doesn't support modifying the order confirmation email templates. Thanks for sharing your use case, we'll be sure to let our product team know that this would be a valuable feature for future consideration.

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Dzonotonas
Shopify Partner
27 2 10

Hello,

Do you have any news? Have you implemented the API to update the email template?

Tristan3dt
Shopify Partner
39 0 17

Any word on this?  Amongst other things we run a magazine subscription business and currently have to update the template manually every 3 months so that it reflects the current magazine issue number in the order confirmation email.  Currently a manual task done as close as possible to the issue changeover time, but would be better to be automated to change at exactly the right moment.  (Also useful because the change over date this quarter falls on a weekend for the first time!)