Newsletter Signup with Storefront API

m4rc
New Member
1 0 1

We are trying to add newsletter signup form on our website using the Storefront API.

We would also like to achieve the same result as using the Liquid form (link). Specifically, we would like to create a customer account that:

  • Doesn't send out a customer account confirmation email as they are only signing up for a newsletter. 
  • Doesn't create a customer account similar to the Liquid form that I linked above.  When using the Liquid form, the customer record will display "No account".  

newsletter.png

Is there any way to do this with the Storefront API?