Custom Email Marketing Signup form via API

I’ve built a newsletter sign up page for our website that takes an email and adds it as a customer and assigned that customer to the correct marketing group however the customer that i’ve created with my email has shows as

Marketing
EMAIL STATUS
Non-subscribed

How do I allow my form/api to add the customers as marketing subscribers?

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Use Customer Webhooks
Subscriptions API Requrements
Customer APIs

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

That field in the customer profile is for the Square marketing emails. Not any marketing that is configured by external applications. At this time that field is a read only field. If you’d like to have a subscribed true or false associated to a customer profile we recommend using Customers Custom Attributes. :slightly_smiling_face: