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