SOLVED

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

Go to solution
Edwin_Afable1
Level 2

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

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

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

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).

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

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

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

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

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