I'm exporting data using the API. I'm fetching a list of all Companies, and all Contacts. I'd like to then join the two lists to pair up Contacts with their Company; however, I have a number of Companies that have the same name so the join is failing.
The only way to do this efficiently would be to join by Company ID.
Can I get the Company ID when using this endpoint?
If not, how can I efficiently match these two objects?
So when I get my list of Contacts, to get the Company ID associated with that Contact, I have to request the 'Get associations for CRM object' for each Contact. E.g. If I have 5000 Contacts, to get the ID of the Company each one belongs to, I have to make 5000 requests?
Is there a more efficient way that this can be accomplished?