Hi,
How to store email address for accounts module using api
Good question…
Useful also for me…
Hi,
Usually this can be done by setting the email1
property using a set_entry
call. However to add an arbitrary amount of emails you’ll need to set the relationships.
To do this you can call set_entry
on the EmailAddresses module to create the email address record. This will return an id of the email address record which can then be passed into a call to set_relationship
to link the email address id to the contact id.
Hope this helps,
Jim
1 Like