Pesquisas recentes


Sem pesquisas recentes

Updating External ID via the API



Publicado 26 de dez. de 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 comentários

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


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação