[Storefront API] createcustomer auto-activated without sending email activation.

Shopify Partner
1 0 0

Hi guys,

I'm using Storefront API for createCustomer to create a customer. It seems to me that the API call was successful and that only a welcome email was sent. My expectation is a bit different. When a customer is created, it's better to send them an activation email. I tried the following:

  • Using Admin REST API with the sent_email_invite parameter but it will redirect to the activation page with password & password confirmation.
  • In the Storefront documentation said that
If you run the customerCreate mutation on an inactivated customer account, then an account activation email is sent to the customer.

 With the Storefront API & Admin Rest API, I don't see any parameters to set the customer state to inactivated.


Replies 0 (0)