Feature Request: customerCreate mutation without password required

Feature Request: customerCreate mutation without password required

andreirhadu
Visitor
2 0 2

I am using the storefront API to develop a mobile app for a Shopify store. While trying to develop a 'Join our newsletter' feature I realized that you can't create new customers without a password. I want my customers to be able to join my newsletter without creating an account. To be able to do that I need to add a customer with just the email and acceptsMarketing fields. Thank you for your time.

Screen Shot 2023-03-14 at 23.46.23.png

 

Replies 2 (2)

simonthordal
Shopify Partner
3 0 2

Have you found a solution to this issue?

The only thing I can think of is generating a random password for each signup.

andreirhadu
Visitor
2 0 2

Haven't found a solution. When a new customer wants to join the newsletter I redirect him to the register screen. There are some solutions with the Admin API though.