<?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 records created in custom object in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/829051#M66169</link>
    <description>&lt;P&gt;Yes. In this example, I might want to update all records of the `cat` object where `cat_mood` was `none` and use `n.a.` as the value instead. Another way would be to update `cat` records based on the name of the owner, which is a string.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 03:55:37 GMT</pubDate>
    <dc:creator>DarMan</dc:creator>
    <dc:date>2023-08-03T03:55:37Z</dc:date>
    <item>
      <title>Update records created in custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/767798#M62186</link>
      <description>&lt;P&gt;Hello guys,&lt;BR /&gt;I got stuck while creating an integration on creating records for new created custom objects. The issue is that i cannot find the api that helps get the records under a specific custom object and also updating them&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 11:15:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/767798#M62186</guid>
      <dc:creator>ABello86</dc:creator>
      <dc:date>2023-03-13T11:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update records created in custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/768665#M62229</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/535499"&gt;@ABello86&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Here's a few quick examples from the &lt;A href="https://developers.hubspot.com/docs/api/crm/crm-custom-objects" target="_blank" rel="noopener"&gt;Custom Objects documentation&lt;/A&gt;:&lt;BR /&gt;In the tab group for Basic, on the Endpoints tab, you'll find&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a record (for your Custom Object)&amp;nbsp;&lt;STRONG class="PathUrl__StyledMethod-zl7ehm-1 cvXeOF"&gt;POST&lt;/STRONG&gt;&lt;CODE class="PathUrl__StyledCode-zl7ehm-2 gqeMbA private-code"&gt;&lt;SPAN class="PathUrl__StyledPath-zl7ehm-3 dmHkrB"&gt;&lt;SPAN class="private-truncated-string" data-content="true"&gt;&lt;SPAN class="private-truncated-string__inner"&gt;&lt;SPAN class="private-truncated-string__reverse"&gt;&lt;SPAN class="private-truncated-string__reverse__tail"&gt;&lt;SPAN class="private-truncated-string__reverse__content"&gt;/crm/v3/objects/{objectType}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Get a record by ID&amp;nbsp;&lt;STRONG class="PathUrl__StyledMethod-zl7ehm-1 cvXeOF"&gt;GET&lt;/STRONG&gt;&lt;CODE class="PathUrl__StyledCode-zl7ehm-2 gqeMbA private-code"&gt;&lt;SPAN class="PathUrl__StyledPath-zl7ehm-3 dmHkrB"&gt;&lt;SPAN class="private-truncated-string" data-content="true"&gt;&lt;SPAN class="private-truncated-string__inner"&gt;&lt;SPAN class="private-truncated-string__reverse"&gt;&lt;SPAN class="private-truncated-string__reverse__tail"&gt;&lt;SPAN class="private-truncated-string__reverse__content"&gt;/crm/v3/objects/{objectType}/{objectId}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;Update a record&amp;nbsp;&lt;STRONG class="PathUrl__StyledMethod-zl7ehm-1 cvXeOF"&gt;PATCH&lt;/STRONG&gt;&lt;CODE class="PathUrl__StyledCode-zl7ehm-2 gqeMbA private-code"&gt;&lt;SPAN class="PathUrl__StyledPath-zl7ehm-3 dmHkrB"&gt;&lt;SPAN class="private-truncated-string" data-content="true"&gt;&lt;SPAN class="private-truncated-string__inner"&gt;&lt;SPAN class="private-truncated-string__reverse"&gt;&lt;SPAN class="private-truncated-string__reverse__tail"&gt;&lt;SPAN class="private-truncated-string__reverse__content"&gt;/crm/v3/objects/{objectType}/{objectId}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For example, I have a custom object called Cats with one record named Tuxedo:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;its Object ID is&amp;nbsp;2-12170198&lt;/LI&gt;
&lt;LI&gt;the Record ID is&amp;nbsp;5419757487&lt;/LI&gt;
&lt;LI&gt;I have a property called Skill&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-03-14 at 13.26.48 2.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87298i11430D3B498090F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-03-14 at 13.26.48 2.png" alt="CleanShot 2023-03-14 at 13.26.48 2.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;to update this record, my request would look like this:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;curl --request PATCH \
  --url https://api.hubapi.com/crm/v3/objects/2-12170198/5419757487 \
  --header 'authorization: Bearer YOUR_ACCESS_TOKEN' \
  --header 'content-type: application/json' \
  --data '{
  "properties": {
    "skill": "juggling;culinary arts"
  }
}'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;and the successful response:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;HTTP 200

{
  "id": "5419757487",
  "properties": {
    "hs_all_accessible_team_ids": "12073943",
    "hs_created_by_user_id": "10233975",
    "hs_createdate": "2023-03-03T21:16:43.245Z",
    "hs_lastmodifieddate": "2023-03-14T19:26:31.077Z",
    "hs_object_id": "5419757487",
    "hs_updated_by_user_id": "10233975",
    "hs_user_ids_of_all_owners": "10233975",
    "hubspot_owner_assigneddate": "2023-03-06T18:47:26.168Z",
    "hubspot_owner_id": "198670650",
    "hubspot_team_id": "12073943",
    "skill": "juggling;culinary arts"
  },
  "createdAt": "2023-03-03T21:16:43.245Z",
  "updatedAt": "2023-03-14T19:26:31.077Z",
  "archived": false
}​&lt;/LI-CODE&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-03-14 at 13.27.28 2.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/87299i40A9BE0E3978888F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-03-14 at 13.27.28 2.png" alt="CleanShot 2023-03-14 at 13.27.28 2.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt; Have fun building! — Jaycee&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 19:41:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/768665#M62229</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-03-14T19:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Update records created in custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/828533#M66138</link>
      <description>&lt;P&gt;How do I make an update like this using a unique value aside from the object ID? For example, if I enforce unique names for pets, how do I update a custom pet object using their name instead of the HubSpot ID?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 08:30:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/828533#M66138</guid>
      <dc:creator>DarMan</dc:creator>
      <dc:date>2023-08-02T08:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Update records created in custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/828882#M66156</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/608743"&gt;@DarMan&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; To clarify, you are asking about this part of the instructions of Updating a Custom Object record? — “&lt;SPAN&gt;or optionally any unique property value as specified by the&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;idProperty&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;query param&lt;/SPAN&gt;”&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meaning, if I have a custom object property called `cat_mood` with unique values enforced? If so, I can get a quick example posted here.&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, 02 Aug 2023 18:21:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/828882#M66156</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-08-02T18:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update records created in custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/829051#M66169</link>
      <description>&lt;P&gt;Yes. In this example, I might want to update all records of the `cat` object where `cat_mood` was `none` and use `n.a.` as the value instead. Another way would be to update `cat` records based on the name of the owner, which is a string.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 03:55:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Update-records-created-in-custom-object/m-p/829051#M66169</guid>
      <dc:creator>DarMan</dc:creator>
      <dc:date>2023-08-03T03:55:37Z</dc:date>
    </item>
  </channel>
</rss>

