Send the activation email programmatically when a customer is created

jjaime
Visitor
2 0 2

I'm using customerCreate mutation from the storefront API to create a customer what I want to do is to automatically send an activation email programmatically after creating an account.

Is this action possible? I already tried looking through the settings options and storefront API docs but I couldn't find anything useful.


Thanks for the help.

Reply 1 (1)

davebeauchemin
Shopify Partner
5 0 1

When using customerCreate mutation from the Storefront API you must set a password. So there's no activation email to be sent since the customer is already activated with email and password. But Shopify send a welcome email after this mutation that you can configure in your Shopify Admin Dashboard -> Settings/Notifications/Customer account welcome.