Skip to main content
POST
/
account-crm-pipeline-deal
Criar Negócio
curl --request POST \
  --url https://sell.ia.proativia.com/api/v1/account-crm-pipeline-deal \
  --header 'Content-Type: application/json' \
  --header 'Token: <api-key>' \
  --data '
{
  "title": "<string>"
}
'
{
  "id": "<string>",
  "stageId": "<string>",
  "leadId": "<string>",
  "dealOwner": "<string>",
  "title": "<string>",
  "value": 123,
  "status": "<string>",
  "expectedCloseDate": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Token
string
header
required

Token de autenticacao gerado na plataforma Sell.IA.

Body

application/json
title
string
required

Titulo do negocio.

stageId
string

ID do estagio em que o negocio se encontra.

leadId
string

ID do lead vinculado ao negocio.

dealOwner
string

ID do usuario responsavel pelo negocio.

value
number

Valor estimado do negocio.

status
string

Status do negocio (ex: open, won, lost).

expectedCloseDate
string<date-time>

Data prevista de fechamento (ISO 8601).

Response

Negócio criado com sucesso.

id
string
stageId
string | null
leadId
string | null
dealOwner
string | null
title
string
value
number | null
status
string | null
expectedCloseDate
string<date-time> | null
createdAt
string<date-time>