New Shopify Certification now available: Liquid Storefronts for Theme Developers

Modify Order Confirmation Template with API

SaudiSystems
Shopify Partner
1 0 1

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

Reply 1 (1)
ShopifyDevSup
Shopify Staff
Shopify Staff
1203 190 420

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