<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread Re: Using API to add people to marketing in Payments Troubleshooting</title>
    <link>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785674#M49391</link>
    <description>&lt;P&gt;Right, on reading the customer API documentation, it looks like this is not possible to do through API calls as the marketing box is read only. Instead it can be set up so that the newsletter box on the website adds the person signing up to the customer directory with nothing but their email and then add them to a group called newsletter subscriber, then I believe we can use that information with the square marketing feature. I have not purchased square marketing yet as the website is not live yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully the above information is useful to someone else who had the same question as me.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 23 Mar 2025 11:34:17 GMT</pubDate>
    <dc:creator>MedicDesignCo</dc:creator>
    <dc:date>2025-03-23T11:34:17Z</dc:date>
    <item>
      <title>Using API to add people to marketing</title>
      <link>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785558#M49390</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently setting up my website separately to square's tools. The issue im having is setting up box to allow people to sign up to marketing emails. Currently the signup box adds their email to the customer director but their marketing status is set to Not Subscribed. I'm currently using this code:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;createResponse&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;await&lt;/SPAN&gt; &lt;SPAN&gt;client&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;customersApi&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;createCustomer&lt;/SPAN&gt;&lt;SPAN&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;emailAddress&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;email&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;preferences&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;emailUnsubscribed&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;referenceId&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;'newsletter-signup'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;note&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;'Subscribed to newsletter from website'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help would be appreciated&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 21 Sep 2025 10:39:46 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785558#M49390</guid>
      <dc:creator>MedicDesignCo</dc:creator>
      <dc:date>2025-09-21T10:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using API to add people to marketing</title>
      <link>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785674#M49391</link>
      <description>&lt;P&gt;Right, on reading the customer API documentation, it looks like this is not possible to do through API calls as the marketing box is read only. Instead it can be set up so that the newsletter box on the website adds the person signing up to the customer directory with nothing but their email and then add them to a group called newsletter subscriber, then I believe we can use that information with the square marketing feature. I have not purchased square marketing yet as the website is not live yet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully the above information is useful to someone else who had the same question as me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Mar 2025 11:34:17 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785674#M49391</guid>
      <dc:creator>MedicDesignCo</dc:creator>
      <dc:date>2025-03-23T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using API to add people to marketing</title>
      <link>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785860#M49392</link>
      <description>&lt;P&gt;Thank you for providing an update here,&amp;nbsp;&lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/717008"&gt;@MedicDesignCo&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;if you haven't already checked it out, the best place to find API-related information and discussions would be on our &lt;A class="notion-link-token notion-focusable-token notion-enable-hover" tabindex="0" href="https://developer.squareup.com/forums/" rel="noopener noreferrer" data-token-index="1" target="_blank"&gt;&lt;SPAN class="link-annotation-unknown-block-id--2004628948"&gt;Square Developer Forum&lt;/SPAN&gt;&lt;/A&gt;. Our Developers are active on the forum and would be happy to address any questions you have.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Mar 2025 05:04:47 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Payments-Troubleshooting/Using-API-to-add-people-to-marketing/m-p/785860#M49392</guid>
      <dc:creator>Katie_SQ</dc:creator>
      <dc:date>2025-03-24T05:04:47Z</dc:date>
    </item>
  </channel>
</rss>

