Newsletter API
Follow this guide to create API access to the Customer API (Newsletter API). When a user fills in their email and press subscribe they will be saved as a Customer in Shopify
Create Newsletter API
- Go to Settings > Apps and sales channels.
- Under Admin API access scopes, click Configure Admin API scopes.
- Find Customers and enable:
read_customers
write_customers
- Click Save.
- Go to API credentials (inside your app).
- Click Install app (this generates the token).
- Copy the Admin API access token (this is your
SHOPIFY_NEWSLETTER_ACCESS_TOKEN
).