Ricerche recenti


Nessuna ricerca recente

Updating External ID via the API



Data ultimo post: 26 dic 2024

If we have end users that can have multiple external IDs for the same email address, how do we handle that?

One idea was that whenever they log in to one of their accounts, we could update the external ID for their email to match that account. However, when we try to do that it we get an error: " {"email"=>[{"description"=>"Email: XYZ@gmail.com is already being used by another user", "error"=>"DuplicateValue"}]}

I thought we were selecting a user by their email and then updating it, is that not correct?


0

2

2 commenti

image avatar

Greg Katechis

Zendesk Developer Advocacy

Hi Billy,

 

A user in Zendesk is only able to have a single external_id connected to their profile. To understand how the process works in a bit more depth, I'd recommend taking a look at this article.

0


Hi Billy Kaplan ,

Like Greg said, only one external id can be added to a profile, but perhaps you could leverage an additional custom field to help store the other ids as needed?  If you're looking to switch the external id, you should be able to do that with the update user endpoint.

0


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post