Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

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 1

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.