Feature Request: Admin API mutation to resend order notification emails

There’s no way to resend an order’s notification email (e.g. order confirmation) via the Admin API — it’s only possible by clicking “View email” then “Resend email” in the order timeline UI.

This becomes a real gap when an order’s contact email is updated via the Admin API — there’s no way to also trigger a resend of the confirmation to the corrected address without going into the admin manually.

Would be great to get an API equivalent of the “Resend email” action.

orderInvoiceSend doesn’t match your needs?

Thanks @sshaw — I did look at orderInvoiceSend, but it solves a different problem.

orderInvoiceSend sends the invoice (the “here’s your invoice / pay now” email tied to payment terms), not the order confirmation notification. Firing it wouldn’t reproduce the “your order has been placed” confirmation for the corrected recipient — it’d send an unrelated payment-due email, which would confuse the customer and isn’t what the order timeline’s “Resend email” action does.

The specific gap: after I update an order’s contact email via orderUpdate, the original confirmation has already gone out to the old address, and there’s no mutation to re-trigger that notification to the new one. orderInvoiceSend is the only send-an-email mutation available, and it’s the wrong email.

So the ask stands: an API equivalent of the timeline’s “Resend email” action, able to target order confirmation (and ideally other order notifications). Happy to be corrected if there’s a way to point orderInvoiceSend at the confirmation template that I’m missing.

Thanks for clarifying.

Stream of consciousness here but I wonder if you could do something hacky like specify a customMessagein the orderInvoiceSend call say __NOTIFICATION__ then in the invoice template (if it allows) refer to that to conditionally render.

Alternatively if customMessage is not available, you can add an order tag (or attribute) before calling orderInvoiceSend, say "resending" that you can access form within the template to make this determination. When it’s “safe” to remove is another issue but maybe you don’t need to remove?

Subject can be set by orderInvoiceSend so that can be of use.

The sticking point seems to be 1) maintenance/reusability of the shared code and 2) Shopify wrapper content that leaks the underlying template to the user, which may cause confusion.

Yep. That’s one approach, another is order edits… both which are total hacks and not ideal. Again, hoping Shopify will consider addressing with a simple new mutation.

Hey hey again @Colby

Just confirming I don’t have a supported Admin API mutation to point you to today that would be equivalent to the order timeline’s “Resend email” action for order confirmations. This is a frustration we’ve seen come up in a few related workflows, especially when teams are trying to keep order support actions inside an external system rather than jumping back into Shopify Admin.

I’ll add your feedback to the existing product feedback log on my side.

Let me know if I can clarify anything on our end here.

Yep… that’s the exact use case. Thanks Alan!

Thanks @Colby - just confirming I’ve logged this on our end. Appreciate you reaching out on this - just taking a look at the other threads we’re chatting in now, will reply there separately just for tracking :slight_smile: