Skip to main content
PUT
/
contatos
/
{idContato}
/
pessoas
/
{idPessoa}
Atualizar pessoa de contato
curl --request PUT \
  --url https://api.tiny.com.br/public-api/v3/contatos/{idContato}/pessoas/{idPessoa} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nome": "<string>",
  "telefone": "<string>",
  "ramal": "<string>",
  "email": "<string>",
  "setor": "<string>"
}
'
{
  "mensagem": "Ocorreram erros de validação",
  "detalhes": [
    {
      "campo": "codigo",
      "mensagem": "O campo código é obrigatório"
    }
  ]
}

Path Parameters

idContato
integer
required
idPessoa
integer
required

Body

application/json
nome
string | null
telefone
string | null
ramal
string | null
email
string | null
setor
string | null

Response

No Content