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.

Email customers via API

Solved

Email customers via API

styrk
Shopify Partner
2 0 0

Hello,

I am using the REST API and was wondering if it is possible to email customers using that API? (or via graphql)

 

I need to send customers an email with a link to their invoice and would like to use the already provided templates etc.

 

Thank you

Accepted Solution (1)

Liam
Community Manager
3108 344 899

This is an accepted solution.

Hi Styrk,

 

You can't create an email and send it via the API, but you could set up your own custom email service and send emails based on merchant information, and triggered with webhooks. Would this work for you?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me 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

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 344 899

This is an accepted solution.

Hi Styrk,

 

You can't create an email and send it via the API, but you could set up your own custom email service and send emails based on merchant information, and triggered with webhooks. Would this work for you?

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me 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

styrk
Shopify Partner
2 0 0

Hello Liam,

That's that i ended up doing and simply copy/pasting the email HTML from some of the templates in the admin. That was my main concern because i wanted my emails to look like all the other templates.