Update email and alternate email for contact

Hi all,

I have a use case where i need to allow contacts to update their email addresses in my linked application.

Once they do the update, I need to retrieve the contact via the API, using the original email and then update the email value. The issue I’m running into is that when the email is updated, it overwrites the contact’s `Primary Email` and that original `Primary Email` is lost.

I would like to preserve the value of the original email as an `Alternative Email`. However `hs_additional_emails` is a read only property.

Is there a suggested workaround to having this updated. One idea is to use a custom field to store the updated contact emails. But ideally, i would like to visually, in the dashboard, retain the original primary email as an `alternate email` for that contact

@davidSquad1 - yes, tehre seems to be a missing API option to add alternate emails.

Although this feels like a hack, it is possible to:

- create a very basic, email only, contact using the new addresss

- merge the old and new contacts to get the email data updated. No data/history would be lost here.

Good luck!

Steve

Hi @SteveHTM

That’s a pretty nice hack. Thanks for sharing! I’ll consider it and give it a test.