I am making a call to the deals API to create a new deal that is very similar to the example request in the documentation here (https://developers.hubspot.com/docs/methods/deals/create_deal). I am passing in a single company id and a single contact id similar to the example request shown.
The newly created deal is always only associated to the company and has no associated contacts even though I put a contact id to associate with in the request. However, for a contact with no company, the deal is created and is correctly associated to the contact. Any help on why the deal creation endpoint will not associate to both a company and contact would be appreciated. Thanks.
I'm not able to reproduce this on my end; can you give me more info on the response you're seeing, and perhaps links to an example contact/company record you're seeing association issues with?
Here is an example response below. As you can see, the associatedCompanyIds have the company associated to the deal. However, associatedVids is empty even though my request included an id.