最近搜索


没有最近搜索

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


请先登录再写评论。

找不到所需的内容?

新建帖子