question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

updateContactByEmail cannot find idProperty location

See original GitHub issue

Hey, I’m also looking for a way to update contact by email and I cannot find where to pass idProperty I know there’s a way because of this issue #99

And I couldn’t find a reference to that in the documentation

my code currently looks like this: await this.hubspotSDK.crm.contacts.basicApi.update(id, { properties });

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ksvirkou-hubspotcommented, Jun 8, 2022

Hi everyone I ve added it to the latest version

const response = await hubspotClient.crm.contacts.basicApi.update('mike@mailforspam.com', {
        "properties": {
          "lastname": "NewLastname"
        }
      }, 'email')
1reaction
ksvirkou-hubspotcommented, May 23, 2022

Currently it isn’t supposed by API

Read more comments on GitHub >

github_iconTop Results From Across the Web

HubspotClient - Update contact by email id is not working
You CAN use email as the idProperty for the hubspot/api-client get contact function, but it only works if you fill in all the...
Read more >
Update contact with email as ID through the Hubspot API
Solved: Hi I'm trying to update a property of a contact through the api. My issue is that I can't get it to...
Read more >
updateContactByEmail cannot find idProperty location #182
updateContactByEmail cannot find idProperty location #182. Hey, I'm also looking for a way to update contact by email and I cannot find where...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found