Pular para o conteúdo principal
PUT
/
deals
/
{dealId}
Update deal
curl --request PUT \
  --url https://connect.pingback.com/v2/deals/{dealId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "contactId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "stageId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "attributes": {
    "pb_name": "<string>",
    "pb_amount": "<string>",
    "pb_closingDate": "2023-11-07T05:31:56Z"
  }
}
'
{
  "message": "Deal updated",
  "data": {
    "id": "ea8a2a47-2a05-4a43-b284-35df0ea46333"
  }
}

Autorizações

x-api-key
string
header
obrigatório

Cabeçalhos

x-developer-mode
boolean
x-api-key
string
obrigatório

Parâmetros de caminho

dealId
string<uuid>
obrigatório

Corpo

application/json
contactId
string<uuid>
stageId
string<uuid>
attributes
object

Resposta

Deal updated

message
string
data
object