Get deals summary

GET {{baseUrl}}/deals/summary?status=<string>&filter_id=<integer>&user_id=<integer>&stage_id=<integer>

Returns a summary of all the deals.

Request Params

KeyDatatypeRequiredDescription
statusstringOnly fetch deals with a specific status. open = Open, won = Won, lost = Lost.
filter_idstring<code>user_id</code> will not be considered. Only deals matching the given filter will be returned.
user_idstringOnly deals matching the given user will be returned. user_id will not be considered if you use filter_id.
stage_idstringOnly deals within the given stage will be returned

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;values_total&quot;:{&quot;EUR&quot;:{&quot;value&quot;:10,&quot;count&quot;:2,&quot;value_converted&quot;:11.1,&quot;value_formatted&quot;:&quot;€10&quot;,&quot;value_converted_formatted&quot;:&quot;US$11.10&quot;},&quot;USD&quot;:{&quot;value&quot;:30,&quot;count&quot;:3,&quot;value_converted&quot;:30,&quot;value_formatted&quot;:&quot;US$30&quot;,&quot;value_converted_formatted&quot;:&quot;US$3&quot;}},&quot;weighted_values_total&quot;:{&quot;EUR&quot;:{&quot;value&quot;:10,&quot;count&quot;:2,&quot;value_formatted&quot;:&quot;€10&quot;},&quot;USD&quot;:{&quot;value&quot;:30,&quot;count&quot;:3,&quot;value_formatted&quot;:&quot;US$30&quot;}},&quot;total_count&quot;:5,&quot;total_currency_converted_value&quot;:41.1,&quot;total_weighted_currency_converted_value&quot;:41.1,&quot;total_currency_converted_value_formatted&quot;:&quot;US$41.1&quot;,&quot;total_weighted_currency_converted_value_formatted&quot;:&quot;US$41.1&quot;}}