Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: 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.