v1

latestOpenAPI 3.1.02026-07-242200814.7 KB

Ver detalhes da oportunidade

get/deals/{deal_id}

Path parameters

deal_idinteger required

ID da oportunidade

Query parameters

withstring

Permite trazer objetos relacionados ao registro que possuem vinculo com o endpoint. items,persons,companies,customForms,users

Response

200

successboolean
messagestring

Example response

{
  "success": true,
  "message": "OK",
  "data": {
    "id": 748,
    "account_id": 748,
    "hash": "tg3xr6nfxz4woc8s4cg8c84cwww0s84",
    "type_reference": 160,
    "reference": "f531d85c9b@emailtown.club",
    "temperature": 1,
    "probability": 100,
    "pipeline_id": 1,
    "owner_id": 1,
    "stage_id": 1,
    "person_id": 1,
    "company_id": 1,
    "lost_reason_id": 1,
    "origin_id": 1,
    "started_in_stage_id": 1,
    "city_id": 3826,
    "created_at": "2020-03-09",
    "title": "abc",
    "observation": "800 pessoas",
    "closed_at": "2020-03-16 22:27:42",
    "value": 100,
    "updated_at": "2020-04-09 16:51:50",
    "last_stage_updated_at": "2020-04-09 16:51:50",
    "value_mrr": 600,
    "probably_closed_at": "2020-02-28"
  }
}