Skip to content

Commit

Permalink
Merge pull request #309 from HubSpot/fix/associationsReadme
Browse files Browse the repository at this point in the history
Update association example in README
  • Loading branch information
ksvirkou-hubspot authored Jan 18, 2023
2 parents eba1b39 + 7a19911 commit 13847b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,12 @@ await hubspotClient.crm.companies.associationsApi.create(
createCompanyResponse.id,
'contacts',
createContactResponse.id,
'company_to_contact'
[
{
"associationCategory": "HUBSPOT_DEFINED",
"associationTypeId": 280
}
]
)
```

Expand Down

0 comments on commit 13847b4

Please sign in to comment.