Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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
1244 201 440

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