Can admins be notified when my app creates a draft order?

KOVIKO
Shopify Partner
14 0 0

I have an app that generates draft orders to be looked at by the admins such that they can contact and quote the customer. I'd like for Shopify to e-mail the admins about these draft orders when they are generated. I see that Shopify has such a feature for normal orders, but don't see how to do this for draft orders.

How would I accomplish this?

Replies 4 (4)
KOVIKO
Shopify Partner
14 0 0

Is it possible to send a notification at all via the API?

Martin_Caum
Shopify Partner
40 3 22

Not sure what you are using for your back end on your app but most server side programming languages have ways of sending emails. So I do not know of a way to do it through Shopify's API directly but I imagine your app could do it with a more manual approach. If you could tell me your programming stack I might be able to help you get the result you are looking for.

KOVIKO
Shopify Partner
14 0 0

I was hoping to be able to make sure that the e-mail sent:

  1. Conforms to the usual formatting for Shopify e-mails
  2. Sends to the e-mail addresses specified in "Staff order notifications"
  3. Is treated the same as the official Shopify notifications by spam filters

The only notification template in that area is "New order" and this does not appear to apply to Draft orders.

KOVIKO
Shopify Partner
14 0 0

Is it possible to get the list of e-mail addresses specified in "Staff order notifications"?