I am currently creating contacts and associating them to deal with an API.
I am then looking to create a deal and associate them with the previous objects.
From reading the endpoint CRM API | Deals (hubspot.com) it appears I will have to do this as a POST request then do a PUT to associate the objects to the deal.
No sorry if I wasn't clear but I am currently creating a company then creating a contact and associating to that company.
Next I am creating a deal and looking to associate that deal to the company and contact.
At the moment I am having to create the deal and then associate in a seperate workflow and was wondering whether it can be done in the same one.
The endpoints you have linked are for v1, but it appears I need to add the associations in the Json file, should that be the same for v3 (The API am using.)
I haven't tested to see if that will work with the V3 endpoint. Wouldn't hurt to give it a go 😀. I can test it later today as well. @quentin_lamamy , what do you think?