Is there a way in the API to find the primary contact for a company? And is there a way to set which contact is the primary contact for a company?
I have some data kept for the company that I need to use in an email in a campaign to the primary contact. So, I am looking to write an API script that gets the necessary data from the company and temporarily copies it into a custom field in the primary contact’s record, then trigger a campaign to send an email to him with that data.
Thanks in advance,