Jan 31, 2023 10:42 PM
Out contact and company association stopped working from a few months ago. The api call to associate a contact with a copany returns successful response, but when we check the company the association is missing, although the contact exists as an entity in hubspot.
Our application is using PHP(laravel framework) and is using rossjcooper/laravel-hubspot package. The url that is being called is `/companies/v2/companies/XXXXX/contacts/YYYY`.
Please look into this.
Thanks
Feb 1, 2023 11:58 AM
Hey, @YArafat 👋 For help with 3rd party repos, you'll need to reach out to the repository itself for help. It looks like you can post for help here — Issues. Based on a recent help request, it looks like the dev aware this repo needs to be updated.
Additionally, I am trying to find the specific endpoint you are referencing, is it this one? Add Contact to Company
PUT /companies/v2/companies/:companyId/contacts/:vid
Thanks for the additional information! — Jaycee
Feb 2, 2023 7:15 PM
Hi Jaycee,
Thanks for looking into this. Yes, that is the endpoint - Add Contact To Company.
Regarding 3rd party repo, yes the one we are currently using probably needs to be updated to use the latest hubspot api. However, my question is the endpoint that we are hitting at hubspot eventually, returns a successful response. Doesn't that mean the contact has been associated with the parent company?