Skip to content

API — Oportunidades

POST /v2/api/external/{ApiID}/createOpportunity

Body JSON:

{
"contactId": 123,
"title": "Proposta Plano Premium",
"value": 500.00,
"pipelineId": 1,
"stageId": 2,
"userId": 5
}
POST /v2/api/external/{ApiID}/updateOpportunity

Body JSON:

{
"opportunityId": 45,
"stageId": 3,
"value": 750.00
}

O sistema de oportunidades funciona com um pipeline de vendas no formato Kanban:

  1. Pipeline: Funil de vendas completo
  2. Stages: Etapas do funil (ex: Qualificação, Proposta, Fechado)
  3. Cards: Oportunidades individuais