<?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: What is the API call to add valid values to an added multiple checkboxes field in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/872433#M68644</link>
    <description>&lt;P&gt;In a scenario where I already had Option A and Option B in there, as described, but wanted to add only a third option C, could I send the above call only containing a single value for Option C, or would I need to resend Option A and Option B in the call to keep those values intact?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 08:59:26 GMT</pubDate>
    <dc:creator>AMcKernan</dc:creator>
    <dc:date>2023-10-31T08:59:26Z</dc:date>
    <item>
      <title>What is the API call to add valid values to an added multiple checkboxes field</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/439538#M43506</link>
      <description>&lt;P&gt;We have created a multiple checkboxes control in CRM to attach as a Contact attribute.&lt;BR /&gt;What is the API call that can be used to maintain the valid values on that multiple checkbox control?&lt;/P&gt;&lt;P&gt;We need to pass and align those values with a source system which is the owner of those values. I cannot ascertain from the CRM API how to maintain the valid values attached to a multiple checkbox control.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 15:01:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/439538#M43506</guid>
      <dc:creator>ANDawson60</dc:creator>
      <dc:date>2021-05-20T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is the API call to add valid values to an added multiple checkboxes field</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/439955#M43539</link>
      <description>&lt;P&gt;Hey&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/191831"&gt;@ANDawson60&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean by "valid values"?&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/153634"&gt;@tominal&lt;/a&gt; , &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/152955"&gt;@zaklein&lt;/a&gt; might have some input &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 15:27:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/439955#M43539</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-05-21T15:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is the API call to add valid values to an added multiple checkboxes field</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/439968#M43544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/191831"&gt;@ANDawson60&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;I'm guessing you mean defining/updating the valid value options of a given enumeration property (e.g. multi-select, radio checkbox etc.). If so, you'll want to read &lt;A href="https://developers.hubspot.com/docs/api/crm/properties" target="_blank" rel="noopener"&gt;HubSpot's Properties API docs&lt;/A&gt;. For any given existing property, you can update the valid value options by calling the "&lt;STRONG&gt;Update a property&lt;/STRONG&gt;" endpoint (there's also a batch endpoint). For example, my JSON body for a &lt;STRONG&gt;PATCH&lt;/STRONG&gt; request to&amp;nbsp;&lt;EM&gt;https://api.hubapi.com/crm/v3/properties/objectType/propertyName&amp;nbsp;&lt;/EM&gt;might be something like:&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "options": [
    {
      "label": "Option A",
      "value": "A"
    },
    {
      "label": "Option B",
      "value": "B"
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Note that the above would overwrite any existing valid value options of the property (only where it's not set on an existing record), so you'll need to be mindful of how you update the options.&lt;/P&gt;
&lt;P data-unlink="true"&gt;Let me know if you have any follow up questions.&lt;/P&gt;
&lt;P data-unlink="true"&gt;All the best,&lt;/P&gt;
&lt;P data-unlink="true"&gt;Zach&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 16:02:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/439968#M43544</guid>
      <dc:creator>zaklein</dc:creator>
      <dc:date>2021-05-21T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is the API call to add valid values to an added multiple checkboxes field</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/448639#M44375</link>
      <description>&lt;P&gt;Thanks all - we identified this as the needing the call from v1 (although I have not tried your call above for comparison)&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/properties/v1/contacts/properties/named/internal_lists?hapikey=####" target="_blank"&gt;https://api.hubapi.com/properties/v1/contacts/properties/named/internal_lists?hapikey=####&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;and then as you point out we must pass the whole list as it is a replace operation not update.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 20:02:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/448639#M44375</guid>
      <dc:creator>ANDawson60</dc:creator>
      <dc:date>2021-06-17T20:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: What is the API call to add valid values to an added multiple checkboxes field</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/872433#M68644</link>
      <description>&lt;P&gt;In a scenario where I already had Option A and Option B in there, as described, but wanted to add only a third option C, could I send the above call only containing a single value for Option C, or would I need to resend Option A and Option B in the call to keep those values intact?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 08:59:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/What-is-the-API-call-to-add-valid-values-to-an-added-multiple/m-p/872433#M68644</guid>
      <dc:creator>AMcKernan</dc:creator>
      <dc:date>2023-10-31T08:59:26Z</dc:date>
    </item>
  </channel>
</rss>

