POST /v1/deals/summary/search
POST
/v1/deals/summary/search
const url = 'https://seu-endereco-da-api/v1/deals/summary/search';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"pipelineId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","filter":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://seu-endereco-da-api/v1/deals/summary/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "pipelineId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "filter": {} }'Permissão que a Chave de acesso precisa: Ler negócios (deals:read).
Authorizations
Seção intitulada “Authorizations”Request Bodyrequired
Seção intitulada “Request Bodyrequired”Media typeapplication/json
object
pipelineId
required
string format: uuid
filter
object
key
additional properties
any
Example generated
{ "pipelineId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "filter": {}}Responses
Seção intitulada “Responses”Media typeapplication/json
Array<object>
object
stageId
required
string
count
required
number
totalValue
required
Sum in centavos of the stage’s non-deleted deals
number
Example generated
[ { "stageId": "example", "count": 1, "totalValue": 1 }]