Duplicate Emails and associateLead() - are all records updated? | Community
Skip to main content
Edwin_Afable1
Level 2
May 2, 2018
Solved

Duplicate Emails and associateLead() - are all records updated?

  • May 2, 2018
  • 1 reply
  • 1814 views

I'm thinking of using associateLead() to associate anonymous web data to known records. What happens if there are multiple records with the same email address? Which one(s) receive the update?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

It wouldn't make sense to associate web activities with more than one lead. Only one lead can own the activities.

I believe the last updated lead gets the update here (with a minority of endpoints, it's the earliest created lead, have to recheck this API call to be sure).

Across the API, you should expect an update/upsert call that accepts a single lead identifier to update only a single lead (even in other cases where multi-update would be practical).

1 reply

SanfordWhiteman
SanfordWhitemanAccepted solution
Level 10
May 2, 2018

It wouldn't make sense to associate web activities with more than one lead. Only one lead can own the activities.

I believe the last updated lead gets the update here (with a minority of endpoints, it's the earliest created lead, have to recheck this API call to be sure).

Across the API, you should expect an update/upsert call that accepts a single lead identifier to update only a single lead (even in other cases where multi-update would be practical).

Edwin_Afable1
Level 2
May 2, 2018

Thanks Sanford Whiteman​ - I didn't want to assume