<?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>topic Re: Update more than 1 contact's property in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604994#M52028</link>
    <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/342566"&gt;@maulanariziq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;there is some syntax error n payload&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try this one&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;payload='{&lt;BR /&gt;"properties": {&lt;BR /&gt;&lt;SPAN&gt;"trigger_id":1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"trigger_name":"test123"&lt;/SPAN&gt;&lt;BR /&gt;}&lt;BR /&gt;}'&lt;/P&gt;
&lt;P&gt;also send the payload in the JSON format , may i know which language are you using for it ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 09:30:05 GMT</pubDate>
    <dc:creator>ChehakWadhdwa</dc:creator>
    <dc:date>2022-03-31T09:30:05Z</dc:date>
    <item>
      <title>Update more than 1 contact's property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604899#M52015</link>
      <description>&lt;P&gt;Hallo All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have read this question about how to update contact's property using API crm v3 &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Updating-contact-property-using-python-API/m-p/443408#M43967" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Updating-contact-property-using-python-API/m-p/443408#M43967&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, the problem is how to update more than 1 field/property? because those article only mention and give demo for 1 property only in payload variable. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 06:29:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604899#M52015</guid>
      <dc:creator>maulanariziq</dc:creator>
      <dc:date>2022-03-31T06:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Update more than 1 contact's property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604955#M52023</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/342566"&gt;@maulanariziq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to update multiple properties just send the payload object with multiple property like this =&lt;/P&gt;
&lt;P&gt;payload="{&lt;/P&gt;
&lt;P&gt;"properties":"{&lt;/P&gt;
&lt;P&gt;"name":"changedname",&lt;/P&gt;
&lt;P&gt;"age":"23"&lt;/P&gt;
&lt;P&gt;}"&lt;/P&gt;
&lt;P&gt;}"&lt;/P&gt;
&lt;P&gt;for ref =&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api/crm/contacts" target="_blank"&gt;https://developers.hubspot.com/docs/api/crm/contacts&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="update.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/62873i93FC8C19834B54C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="update.png" alt="update.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 08:26:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604955#M52023</guid>
      <dc:creator>ChehakWadhdwa</dc:creator>
      <dc:date>2022-03-31T08:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Update more than 1 contact's property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604961#M52024</link>
      <description>&lt;P&gt;I use this but still got error,&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;Response [400]&amp;gt;&lt;/PRE&gt;&lt;P&gt;payload="""{&lt;BR /&gt;"properties":"{&lt;BR /&gt;"trigger_id":1,&lt;BR /&gt;"trigger_name":"test123"&lt;BR /&gt;}"&lt;BR /&gt;}"""&lt;/P&gt;&lt;P&gt;response = requests.request("PATCH", url, data=payload.encode("utf-8"), headers=headers)&lt;BR /&gt;print(response)&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 08:33:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604961#M52024</guid>
      <dc:creator>maulanariziq</dc:creator>
      <dc:date>2022-03-31T08:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update more than 1 contact's property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604994#M52028</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/342566"&gt;@maulanariziq&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;there is some syntax error n payload&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try this one&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;payload='{&lt;BR /&gt;"properties": {&lt;BR /&gt;&lt;SPAN&gt;"trigger_id":1,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"trigger_name":"test123"&lt;/SPAN&gt;&lt;BR /&gt;}&lt;BR /&gt;}'&lt;/P&gt;
&lt;P&gt;also send the payload in the JSON format , may i know which language are you using for it ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 09:30:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/604994#M52028</guid>
      <dc:creator>ChehakWadhdwa</dc:creator>
      <dc:date>2022-03-31T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Update more than 1 contact's property</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/605005#M52029</link>
      <description>&lt;P&gt;Thank you, It works!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 09:40:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-more-than-1-contact-s-property/m-p/605005#M52029</guid>
      <dc:creator>maulanariziq</dc:creator>
      <dc:date>2022-03-31T09:40:42Z</dc:date>
    </item>
  </channel>
</rss>

