Sort order of results returned by Company API endpoints


#1

I can’t find any mention of sort order in the documentation.

Does the server guarantee a sort order of the companies returned by the following Company API endpoints?


#2

Hi @johnpkennedy

There is no guaranteed order for getting all companies.

The recently created endpoint returns companies in the order they were created (based on the createdate property), starting with the most recently created records.

The recently modified endpoint returns companies in the order they were last modified (based on the hs_lastmodifieddate property), starting with the most recently modified records.