APIs & Integrations

cobantech
Member

Cannot update contact property value the second time

Hi,

I am new to Hubspot API and learning.

I am playing with “Update an existing contact by email” API. I was able to update contact property values using it, however, it works only the first time on each contact. Any subsequent API calls to the same contact does nothing to the data, although the http response code returned is 204.

(I am not using OAuth, i am using Hapikey directly). Any help is appreciated.

Allan

0 Upvotes
9 Replies 9
cobantech
Member

Cannot update contact property value the second time

Hi David,

Thanks for the reply. Yes, the property change API seem to be successful. I can see the changes from the contact’s properties on Hubspot site. However, i can’t see the changes right away by using the API call: https://api.hubapi.com/contacts/v1/contact/email/abc@whatever.com/profile?hapikey=

Is there a intended delay or cache (due to previous property change API call), and how long does it take for the changes to be available for other API calls?

Allan

0 Upvotes
congtran
Member

Cannot update contact property value the second time

Response code 204 when a contact is updated and No content response on success. I think it was updated.
Check https://developers.hubspot.com/docs/methods/contacts/update_contact-by-email

0 Upvotes
cobantech
Member

Cannot update contact property value the second time

Hi congtran,

thanks for the reply. I did change the content. This is what i sent for update, but it just won’t take them, The funny part is, if i update a contact’s data the first time it will take it, just not afterwards.
{
“properties”: [
{
“property”: “echo”,
“value”: “0”
},
{
“property”: “m7”,
“value”: “380”
}
]
}

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Cannot update contact property value the second time

@cobantech looking at that records now, I’m seeing 3 versions for the two properties you were updating, and they show the values you were trying to set:

"echo": {
  "value": "0",
  "versions": [
    {
      "value": "0",
      "source-type": "API",
      "source-id": null,
      "source-label": null,
      "source-metadata": null,
      "timestamp": 1495735096966,
      "selected": false
    },
    {
      "value": "32",
      "source-type": "API",
      "source-id": null,
      "source-label": null,
      "source-metadata": null,
      "timestamp": 1495734973658,
      "selected": false
    },
    {
      "value": "9",
      "source-type": "API",
      "source-id": null,
      "source-label": null,
      "source-metadata": null,
      "timestamp": 1495392236501,
      "selected": false
    }
  ]
},
"m7": {
  "value": "380",
  "versions": [
    {
      "value": "380",
      "source-type": "API",
      "source-id": null,
      "source-label": null,
      "source-metadata": null,
      "timestamp": 1495735096966,
      "selected": false
    },
    {
      "value": "1",
      "source-type": "API",
      "source-id": null,
      "source-label": null,
      "source-metadata": null,
      "timestamp": 1495734973658,
      "selected": false
    },
    {
      "value": "11",
      "source-type": "API",
      "source-id": null,
      "source-label": null,
      "source-metadata": null,
      "timestamp": 1495392236501,
      "selected": false
    }
  ]
}

I’m also seeing those updated values for the record when I view it in HubSpot. Are you seeing something different?

0 Upvotes
cobantech
Member

Cannot update contact property value the second time

correction to the URL, “whatever.com” should be "whoever@whatever.com".

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Cannot update contact property value the second time

@cobantech do you have an example contact you could send me that I could take a look at?

0 Upvotes
cobantech
Member

Cannot update contact property value the second time

Hi Adam,

Thanks for the reply, below is a sample json record of one of the contacts i used for the test. I cannot upload it as a text file for some reason.

{
“vid”: 9001,
“canonical-vid”: 9001,
“merged-vids”: [
],
“portal-id”: 2836812,
“is-contact”: true,
“profile-token”: “AO_T-mO-qmLN4jzKAbkTWiLrxbM50eBM8XDY9aPN-ILTu3OIbZ9Vw8f6n2aItyN4kZAkJWhggINoWfgRKdzG0ZBCxvyDbSd-VCGQJblb9K5YabSX3kFtwFzwkuEPT-pKKoSNVI0EGj_e”,
“profile-url”: “https://app.hubspot.com/contacts/2836812/lists/public/contact/_AO_T-mO-qmLN4jzKAbkTWiLrxbM50eBM8XDY9...”,
“properties”: {
“hs_analytics_last_url”: {
“value”: “https://www.cobantech.com/blog/police-car-cameras-and-body-cameras-are-both-needed?hsFormKey=7be3704...”,
“versions”: [
{
“value”: “https://www.cobantech.com/blog/police-car-cameras-and-body-cameras-are-both-needed?hsFormKey=7be3704...”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843262278,
“selected”: false
},
{
“value”: “https://www.cobantech.com/blog/police-car-cameras-and-body-cameras-are-both-needed”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“num_unique_conversion_events”: {
“value”: “1”,
“versions”: [
{
“value”: “1”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 0,
“selected”: false
}
]
},
“hs_analytics_revenue”: {
“value”: “0.0”,
“versions”: [
{
“value”: “0.0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“createdate”: {
“value”: “1493843255485”,
“versions”: [
{
“value”: “1493843255485”,
“source-type”: “FORM”,
“source-id”: “e3214733-ad57-4ece-b846-a47dbf44ab3c”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“echo”: {
“value”: “32”,
“versions”: [
{
“value”: “32”,
“source-type”: “API”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495734973658,
“selected”: false
},
{
“value”: “9”,
“source-type”: “API”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495392236501,
“selected”: false
}
]
},
“hs_analytics_first_referrer”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_email_optout”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “EMAIL”,
“source-id”: “Updated in response to a contact being created.”,
“source-label”: "cindyc@cobantech.com",
“timestamp”: 1493843256627,
“selected”: false
}
]
},
“recent_conversion_event_name”: {
“value”: “Police Car Cameras & Body Cameras are Both Needed: Subscribe to Default HubSpot Blog Notifications”,
“versions”: [
{
“value”: “Police Car Cameras & Body Cameras are Both Needed: Subscribe to Default HubSpot Blog Notifications”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 0,
“selected”: false
}
]
},
“hs_analytics_num_page_views”: {
“value”: “11”,
“versions”: [
{
“value”: “11”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843262278,
“selected”: false
},
{
“value”: “10”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_ip_timezone”: {
“value”: “america_slash_los_angeles”,
“versions”: [
{
“value”: “america_slash_los_angeles”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“first_conversion_date”: {
“value”: “1493843255485”,
“versions”: [
{
“value”: “1493843255485”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 0,
“selected”: false
}
]
},
“hs_lifecyclestage_subscriber_date”: {
“value”: “1493843255485”,
“versions”: [
{
“value”: “1493843255485”,
“source-type”: “FORM”,
“source-id”: “e3214733-ad57-4ece-b846-a47dbf44ab3c”,
“source-label”: “Lifecycle Stage”,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“ip_zipcode”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_analytics_average_page_views”: {
“value”: “1”,
“versions”: [
{
“value”: “1”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“num_conversion_events”: {
“value”: “1”,
“versions”: [
{
“value”: “1”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 0,
“selected”: false
}
]
},
“currentlyinworkflow”: {
“value”: “false”,
“versions”: [
{
“value”: “false”,
“source-type”: “WORKFLOWS”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1493843263339,
“selected”: false
},
{
“value”: “true”,
“source-type”: “WORKFLOWS”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1493843262447,
“selected”: false
}
]
},
“ip_latlon”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_analytics_num_event_completions”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“first_conversion_event_name”: {
“value”: “Police Car Cameras & Body Cameras are Both Needed: Subscribe to Default HubSpot Blog Notifications”,
“versions”: [
{
“value”: “Police Car Cameras & Body Cameras are Both Needed: Subscribe to Default HubSpot Blog Notifications”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 0,
“selected”: false
}
]
},
“ipaddress”: {
“value”: “166.216.158.23”,
“versions”: [
{
“value”: “166.216.158.23”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“ip_state”: {
“value”: “california”,
“versions”: [
{
“value”: “california”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“ip_country”: {
“value”: “united states”,
“versions”: [
{
“value”: “united states”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_social_num_broadcast_clicks”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_analytics_last_timestamp”: {
“value”: “1493843259287”,
“versions”: [
{
“value”: “1493843259287”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843262278,
“selected”: false
},
{
“value”: “1493843229607”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_analytics_num_visits”: {
“value”: “6”,
“versions”: [
{
“value”: “6”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“ip_state_code”: {
“value”: “ca”,
“versions”: [
{
“value”: “ca”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_social_linkedin_clicks”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_analytics_last_visit_timestamp”: {
“value”: “1493843229607”,
“versions”: [
{
“value”: “1493843229607”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_social_last_engagement”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_analytics_source”: {
“value”: “DIRECT_TRAFFIC”,
“versions”: [
{
“value”: “DIRECT_TRAFFIC”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“email”: {
“value”: "cindyc@cobantech.com",
“versions”: [
{
“value”: "cindyc@cobantech.com",
“source-type”: “FORM”,
“source-id”: “e3214733-ad57-4ece-b846-a47dbf44ab3c”,
“source-label”: “Email”,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_analytics_first_url”: {
“value”: “http://www.cobantech.com/”,
“versions”: [
{
“value”: “http://www.cobantech.com/”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“vievu”: {
“value”: “11”,
“versions”: [
{
“value”: “11”,
“source-type”: “API”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495392147673,
“selected”: false
}
]
},
“ip_country_code”: {
“value”: “us”,
“versions”: [
{
“value”: “us”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_analytics_first_visit_timestamp”: {
“value”: “1490924032821”,
“versions”: [
{
“value”: “1490924032821”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_email_optout_3113071”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “EMAIL”,
“source-id”: “Updated in response to a contact being created.”,
“source-label”: "cindyc@cobantech.com",
“timestamp”: 1493843256627,
“selected”: false
}
]
},
“hs_analytics_first_timestamp”: {
“value”: “1490924032821”,
“versions”: [
{
“value”: “1490924032821”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“lastmodifieddate”: {
“value”: “1495734973667”,
“versions”: [
{
“value”: “1495734973667”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495734973667,
“selected”: false
}
]
},
“blog_default_hubspot_blog_subscription”: {
“value”: “instant”,
“versions”: [
{
“value”: “instant”,
“source-type”: “FORM”,
“source-id”: “e3214733-ad57-4ece-b846-a47dbf44ab3c”,
“source-label”: “Notification Frequency”,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“edge_hd”: {
“value”: “9”,
“versions”: [
{
“value”: “9”,
“source-type”: “API”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495392147673,
“selected”: false
}
]
},
“hs_social_google_plus_clicks”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“m7”: {
“value”: “1”,
“versions”: [
{
“value”: “1”,
“source-type”: “API”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495734973658,
“selected”: false
},
{
“value”: “11”,
“source-type”: “API”,
“source-id”: null,
“source-label”: null,
“timestamp”: 1495392236501,
“selected”: false
}
]
},
“hs_analytics_last_referrer”: {
“value”: “https://www.cobantech.com/blog/police-car-cameras-and-body-cameras-are-both-needed”,
“versions”: [
{
“value”: “https://www.cobantech.com/blog/police-car-cameras-and-body-cameras-are-both-needed”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843262278,
“selected”: false
},
{
“value”: “http://www.cobantech.com/leadershipteam”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_email_optout_1274000”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “EMAIL”,
“source-id”: “Updated in response to a contact being created.”,
“source-label”: "cindyc@cobantech.com",
“timestamp”: 1493843256627,
“selected”: false
}
]
},
“hs_email_optout_1273790”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “EMAIL”,
“source-id”: “Updated in response to a contact being created.”,
“source-label”: "cindyc@cobantech.com",
“timestamp”: 1493843256627,
“selected”: false
}
]
},
“hs_social_facebook_clicks”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“ip_city”: {
“value”: “antioch”,
“versions”: [
{
“value”: “antioch”,
“source-type”: “HEISENBERG”,
“source-id”: “FORM_SUBMISSION (e3214733-ad57-4ece-b846-a47dbf44ab3c)”,
“source-label”: null,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“recent_conversion_date”: {
“value”: “1493843255485”,
“versions”: [
{
“value”: “1493843255485”,
“source-type”: “CALCULATED”,
“source-id”: null,
“source-label”: null,
“timestamp”: 0,
“selected”: false
}
]
},
“hs_analytics_source_data_2”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_social_twitter_clicks”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“hs_analytics_source_data_1”: {
“value”: “”,
“versions”: [
{
“value”: “”,
“source-type”: “ANALYTICS”,
“source-id”: “ContactAnalyticsDetailsUpdateWorker”,
“source-label”: null,
“timestamp”: 1493843259260,
“selected”: false
}
]
},
“lifecyclestage”: {
“value”: “subscriber”,
“versions”: [
{
“value”: “subscriber”,
“source-type”: “FORM”,
“source-id”: “e3214733-ad57-4ece-b846-a47dbf44ab3c”,
“source-label”: “Lifecycle Stage”,
“timestamp”: 1493843255485,
“selected”: false
}
]
},
“hs_email_sends_since_last_engagement”: {
“value”: “0”,
“versions”: [
{
“value”: “0”,
“source-type”: “EMAIL”,
“source-id”: “Updated in response to a contact being created.”,
“source-label”: "cindyc@cobantech.com",
“timestamp”: 1493843256627,
“selected”: false
}
]
}
},
“form-submissions”: [
{
“conversion-id”: “e3214733-ad57-4ece-b846-a47dbf44ab3c”,
“timestamp”: 1493843255485,
“form-id”: “d3ca99ca-668d-4ac2-8cb5-9471227332ec”,
“portal-id”: 2836812,
“page-url”: “https://www.cobantech.com/blog/police-car-cameras-and-body-cameras-are-both-needed”,
“page-title”: “Police Car Cameras & Body Cameras are Both Needed”,
“page-id”: “5023837854”,
“title”: “Subscribe to Default HubSpot Blog Notifications”,
“meta-data”: [
]
}
],
“list-memberships”: [
{
“static-list-id”: 2,
“internal-list-id”: 44,
“timestamp”: 1493843258579,
“vid”: 9001,
“is-member”: true
},
{
“static-list-id”: 23,
“internal-list-id”: 24,
“timestamp”: 1493843258579,
“vid”: 9001,
“is-member”: true
},
{
“static-list-id”: 25,
“internal-list-id”: 27,
“timestamp”: 1493843263203,
“vid”: 9001,
“is-member”: true
},
{
“static-list-id”: 26,
“internal-list-id”: 28,
“timestamp”: 1493843262477,
“vid”: 9001,
“is-member”: true
},
{
“static-list-id”: 28,
“internal-list-id”: 30,
“timestamp”: 1493843263281,
“vid”: 9001,
“is-member”: true
},
{
“static-list-id”: 30,
“internal-list-id”: 32,
“timestamp”: 1493843258579,
“vid”: 9001,
“is-member”: true
},
{
“static-list-id”: 34,
“internal-list-id”: 38,
“timestamp”: 1493923904350,
“vid”: 9001,
“is-member”: true
}
],
“identity-profiles”: [
{
“vid”: 9001,
“saved-at-timestamp”: 1493843256576,
“deleted-changed-timestamp”: 0,
“identities”: [
{
“type”: “EMAIL”,
“value”: "cindyc@cobantech.com",
“timestamp”: 1493843255485
},
{
“type”: “LEAD_GUID”,
“value”: “bcd7cfca-5e62-42cd-9523-8380fbac8a09”,
“timestamp”: 1493843256575
}
]
}
],
“merge-audits”: [
]
}

=========================================
this is the json i sent as info to be updated:

{
“properties”: [
{
“property”: “echo”,
“value”: “0”
},
{
“property”: “m7”,
“value”: “380”
}
]
}

0 Upvotes
cobantech
Member

Cannot update contact property value the second time

Hi David,

Thanks for the reply. Here is the URL:
https://api.hubapi.com/contacts/v1/contact/email/whatever.com/profile?hapikey=

This is the json string we send, cf1 and cf2 are custom fields we uploaded with to Hubspot, as part of our contact data.
{
“properties”: [
{
“property”: “cf1”,
“value”: “32”
},
{
“property”: “cf2”,
“value”: “1”
}
]
}

If i update these value the first time, it works fine (i can read them back and check), but if i update them again with different values, the new value are not taken.

Allan

0 Upvotes
Dadams
HubSpot Employee
HubSpot Employee

Cannot update contact property value the second time

Hi @cobantech

What property are you trying to update? Are you using different values for the subsequent updates? We wouldn’t show an update if the values didn’t actually change.

0 Upvotes