<?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: Company 'country' value not updated in API when updated manually in UI in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622923#M52673</link>
    <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/367014"&gt;@SBurwash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for updating!&amp;nbsp; I am looking into it.&lt;/P&gt;
&lt;P&gt;When you say it possibly spans deals, can you elaborate?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 13:27:10 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2022-04-27T13:27:10Z</dc:date>
    <item>
      <title>Company 'country' value not updated in API when updated manually in UI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/620414#M52591</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We're having an issue with properties wtih the "company" v3 endpoint (although we have a hunch that it could be in other spots) where the value returned by the API is not the same as the one in the hubspot frontend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;1) A company was created with it's&amp;nbsp;&lt;EM&gt;country=Japan&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2) At a later date, a person in sales updates it's value to &lt;EM&gt;country=USA&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;3) Result: Several days later, even though we updated the country field, the API still returns the initial value of country=&lt;EM&gt;Japan&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone ever seen this issue/know how to deal with it?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2022 13:10:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/620414#M52591</guid>
      <dc:creator>SBurwash</dc:creator>
      <dc:date>2022-04-22T13:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Company 'country' value not updated in API when updated manually in UI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/621768#M52629</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/367014"&gt;@SBurwash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not seen any other reports of this recently &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Was it for a specific contact or many?&lt;/P&gt;
&lt;P&gt;Is it still happening?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 19:51:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/621768#M52629</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-04-25T19:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Company 'country' value not updated in API when updated manually in UI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622498#M52654</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982" target="_blank"&gt;@dennisedson&lt;/A&gt;, thanks for the quick response!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can try to find you more examples, but we are fairly confident this is a recurring issue that also could possible span into deals:&lt;BR /&gt;&lt;BR /&gt;Here is an example of a query:&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{hubspot_url}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/companies/:id?properties=country&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Where the country= Japan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But here on our page, we can see:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SBurwash_0-1651003040852.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/64929iCED15FBE7783A46F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SBurwash_0-1651003040852.png" alt="SBurwash_0-1651003040852.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? I can provide more examples if necessary.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(PS: sorry if you already saw this message, I had it as the wrong type of reply so reposting)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 19:57:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622498#M52654</guid>
      <dc:creator>SBurwash</dc:creator>
      <dc:date>2022-04-26T19:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Company 'country' value not updated in API when updated manually in UI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622923#M52673</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/367014"&gt;@SBurwash&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for updating!&amp;nbsp; I am looking into it.&lt;/P&gt;
&lt;P&gt;When you say it possibly spans deals, can you elaborate?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:27:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622923#M52673</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2022-04-27T13:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Company 'country' value not updated in API when updated manually in UI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622941#M52674</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;thank you so much!&lt;BR /&gt;&lt;BR /&gt;For the deals, we currently have sdr date values that are being manually updated by users to fit into a certain month (ex: deal was closed on april 4th, but it was officialized in march so we manually roll back the date to march 31st) but the date is still showing up as april 4th&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The common factor is manual updates&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 13:39:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/622941#M52674</guid>
      <dc:creator>SBurwash</dc:creator>
      <dc:date>2022-04-27T13:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Company 'country' value not updated in API when updated manually in UI</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/623970#M52709</link>
      <description>&lt;P&gt;Here is the response from hubspot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hi Stephane,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I hope you're doing well today. I wanted to let you know that I have just received a response from our product upon taking a look at the backend of the example company and properties used in the endpoint.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;So, what is happening is that the "Country" field that's appearing on the front end is actually a custom property that has an internal name of country_list, which you can see in your company property settings (see screenshot attached). The value for country_list (labeled "Country") is indeed USA for that company.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;However, there's also a property with the internal name "Country", which has the value "Japan" for the example company. This is the default property labeled "Country/Region". Some important context is that when a user attempts to delete a default HubSpot property, it's not fully deleted; it's just hidden from the UI. So this property is hidden, but it still has the value of "Japan" for the example company. As you're using the internal name for that property in your API call, it explains why you get Japan as the result. Using instead country_list should pull the results you expect. The same can happen for deals, make sure you use the correct internal name for the property you want to pull.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;So this was an internal value error, which is aweomse to hear! No patching required &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; closing the issue&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 17:59:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Company-country-value-not-updated-in-API-when-updated-manually/m-p/623970#M52709</guid>
      <dc:creator>SBurwash</dc:creator>
      <dc:date>2022-04-28T17:59:34Z</dc:date>
    </item>
  </channel>
</rss>

