This topic is still under construction but already contain usefull information
Comming soon : Documentation of the methods listed below and a little snippet i think usefull
Last update : 2020/11/06
/**
* Get the entire list of your companies
* @param string $properties A comma separated list of the properties to be returned in the response (optional)
**/
$hubspot->crm()->companies()->getAll($properties)
Like in the api endpoint you can choose the field you want to retrieve, just add it in the method parameter :
It will return an array of object HubSpot\Client\Crm\Companies\Model\SimplePublicObject
This method is a shortcut of a more difficult way where you have to manage pagination during your search (Thanks to hs team for that 🥰). There is no limitation except the hubspot rate limit like any api request.
When looping on the array you retrieve you can use those method on each object
Here is getters of this object :
getId
getProperties
getCreatedAt
getUpdatedAt
getAssociation
getArchived
getArchivedAt
If my post help you or if you just want to support hit the upvote button