The get all deals endpoint retrieves all deal data from HubSpot, including any associated object data. It returns a paginated set of deals.
What's a use case for this endpoint? Your company uses HubSpot and just added an external CRM. You’re beginning the process of integrating the two systems and deals are your top priority. You can use the get all deals endpoint to retrieve all existing deal information from HubSpot. You can then populate your CRM with this information before setting up a bi-directional sync.
In addition to the list of deals, each request will also return two values,
hasMore is true, you'll need to make another request, using the
offset to get the next page of deal records.