I am trying to associate contacts with companies by following current documentation:
However for my case PHP Library doesnt really have the “HubSpot\Client\Crm\Contacts\Model\AssociationSpec” so I cant follow that code, so I decided to do it by CURL.
I made this curl which seems correct to me:
After I send this curl I receive the error bellow:
{"status":"error","message":"Invalid input JSON on line 6, column 4. Some required fields were not set: [associationCategory, associationTypeId]","correlationId":"f940079b-7f65-4794-a13d-35ac905cc349","category":"VALIDATION_ERROR"}
Dont quite follow, I am inserting associationCategory and associationTypeId.
Do you guys can give some help?