API — Oportunidades
API — Oportunidades
Section titled “API — Oportunidades”Criar Oportunidade
Section titled “Criar Oportunidade”POST /v2/api/external/{ApiID}/createOpportunityBody JSON:
{ "contactId": 123, "title": "Proposta Plano Premium", "value": 500.00, "pipelineId": 1, "stageId": 2, "userId": 5}Atualizar Oportunidade
Section titled “Atualizar Oportunidade”POST /v2/api/external/{ApiID}/updateOpportunityBody JSON:
{ "opportunityId": 45, "stageId": 3, "value": 750.00}Kanban e Pipeline
Section titled “Kanban e Pipeline”O sistema de oportunidades funciona com um pipeline de vendas no formato Kanban:
- Pipeline: Funil de vendas completo
- Stages: Etapas do funil (ex: Qualificação, Proposta, Fechado)
- Cards: Oportunidades individuais