Hey
I’ve been developing custom storefront for my Shopify store. Everything has went well until I’ve tried to implement newsletter/email opt in. There seems no specific mutation for that. The closes solution I could think of is creating an entirely new user for that. But implementing that there also seems to be some kind of issues. I’ve added write_customer permissions to my admin API as seen on the first image.
After that I tried using Shopify’s Graphiql to test this out. It shows either I don’t have write_customers access scope or user needs customers permissions. How should i grant user customer permission? Check the image below
Maybe there is different solution to integrate email/newsletter sign in to your custom front-end?


