HubSpot / hubspot-api-php

HubSpot API PHP Client Libraries for V3 version of the API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Associations API v3 removed from objects, but v4 not included

MichaelNZ85 opened this issue · comments

The associations API v3 has been removed from objects like deals and companies in the latest release (10.0.0-beta), as per the changelog. However, there is no associations API v4 included, meaning that there is currently no way to manage associations through the client and raw HTTP requests must be used instead.

commented

Hi @MichaelNZ85 .
We generate the SDK by Hubspot swagger files.
Hubspot have removed these methods from the swagger files.

So why hasn't the v4 associations API been addedd into the SDK? It's in the API docs (which is what I assume you mean by 'Hubspot swagger files').

commented

I don't know why samples don't work.

$hubspot->crm()->associations()->v4();
$hubspot->crm()->objects()->associationsApi();