<?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: Updating integration to API v3 to create or update and batch associations V4 in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/725084#M59216</link>
    <description>&lt;P&gt;Thank you Jaycee, I appreciate your reply and it certainly has saved me some time. Fingers crossed we can do more with less calls back and forth to the API in the future but I definitely understand the simplicity and consistency introduced in the newer versions. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 02:59:35 GMT</pubDate>
    <dc:creator>gllghr</dc:creator>
    <dc:date>2022-12-01T02:59:35Z</dc:date>
    <item>
      <title>Updating integration to API v3 to create or update and batch associations V4</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/724663#M59170</link>
      <description>&lt;P&gt;&lt;FONT size="3"&gt;Hello&amp;nbsp;— I am working on an integration between HubSpot and another service's webhook events. Based on the information received from the other service, in HubSpot a deal, company, and contact are created.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;Previously, with API v1, I was able to use the&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;/contacts/v1/contact/createOrUpdate/email/{email} endpoint to either create a contact object, or if it already existed, update that contact object.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;With the v3 API, I haven't found a similar endpoint or endpoints that replicate a similar behavior and instead I am needing to first search for an existing contact with one call and then use another call to create the contact if the first call returns no results. Is there a method in the V3 API to use a single call to either update&amp;nbsp;OR&amp;nbsp;create a new record, without needing to search first?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Additionally, I was able to associate a contact, company, and deal with the&amp;nbsp;/crm-associations/v1/associations/create-batch endpoint sent with a body of an array containing the object associations to be made (contact to company, contact to deal, company to deal). I also have not been able to find a similar method to this in the V3 or V4 associations endpoints. Instead, this is now requiring three different calls to associate those separately. With the new associations endpoints, is there a way to complete that task in less calls?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;Thank you!&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Dec 2022 03:01:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/724663#M59170</guid>
      <dc:creator>gllghr</dc:creator>
      <dc:date>2022-12-01T03:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Updating integration to API v3 to create or update and batch associations V4</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/724956#M59198</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/484558"&gt;@gllghr&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out. You are not missing an option or options with these endpoints. There is not a way to make a single call to accomplish your goal(s).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understand why this is challenging, and I do not want you to waste time searching for an option that doesn't exist. You'll need to make multiple calls using these endpoints.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There have been many similar threads recently. I am happy to link a few here if you'd like to see them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 19:32:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/724956#M59198</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-11-30T19:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Updating integration to API v3 to create or update and batch associations V4</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/725084#M59216</link>
      <description>&lt;P&gt;Thank you Jaycee, I appreciate your reply and it certainly has saved me some time. Fingers crossed we can do more with less calls back and forth to the API in the future but I definitely understand the simplicity and consistency introduced in the newer versions. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 02:59:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Updating-integration-to-API-v3-to-create-or-update-and-batch/m-p/725084#M59216</guid>
      <dc:creator>gllghr</dc:creator>
      <dc:date>2022-12-01T02:59:35Z</dc:date>
    </item>
  </channel>
</rss>

