Create
PUT {{baseUrl}}/crm/v4/objects/:objectType/:objectId/associations/:toObjectType/:toObjectId
Set association labels between two records.
Request Body
[{"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"USER_DEFINED", "associationTypeId"=>"<integer>"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"fromObjectId":"\u003cinteger\u003e","fromObjectTypeId":"\u003cstring\u003e","labels":["\u003cstring\u003e","\u003cstring\u003e"],"toObjectId":"\u003cinteger\u003e","toObjectTypeId":"\u003cstring\u003e"}