I have about 2500 contacts with a primary email address that has changed.
How can I change the primary email address without creating a new contact.
I tried just import a csv where only the primary email was changed and it created a lot of new contacts.
Any suggestion is welcome.
Best answer by Daniel SöderlundView original
You need to use API Service Desk API for Developers | Freshservice
And use a script that filter on the old adress to get the ID and then use the update endpoint to change the e-mail. Keep in mind that there is a limit on how many API calls you can do per minute.
@EricRoeland, @Daniel Söderlund hit it right on the head. The Freshservice API is going to be your best friend here. I use a python script often to pull requester data and dump into a csv file. It wouldn’t take much to add in a POST request that changes the primary_email address of those requesters.
Thank you very much for this solution.