최근 검색


최근 검색 없음

Updating External ID via the API



2024년 12월 26일에 게시됨

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개

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물