Alterar uma pessoa

Altera a pessoa do id. O document do corpo tem que ser o dela: se não bater, é 422,
e é essa conferência que impede uma carga em lote de sobrescrever a pessoa errada.

phones, emails, addresses e relationshipTypes são substituídos por inteiro quando
vêm no corpo, e ficam intocados quando não vêm. Não há merge por posição: sem chave
estável no telefone, "atualizar o telefone" viraria "duplicar o telefone" a cada chamada.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
0 to 9007199254740991
Body Params
string
length between 2 and 100
string
required
length between 11 and 20
string | null
integer | null
1 to 5
string | null
boolean
boolean
boolean
relationshipTypes
array of strings
length ≤ 30
relationshipTypes
phones
array of objects
length ≤ 20
phones
emails
array of objects
length ≤ 20
emails
addresses
array of objects
length ≤ 10
addresses
bankAccounts
array of objects
length ≤ 10
bankAccounts
documents
array of objects
length ≤ 20
documents
string | null
^\d{4}-\d{2}-\d{2}$
string | null
enum
Allowed:
string | null
enum
Allowed:
string | null
string | null
number | null
≥ 0
number | null
≥ 0
number | null
≥ 0
number | null
≥ 0
boolean | null
string | null
string | null
^\d{4}-\d{2}-\d{2}$
string | null
number | null
≥ 0
integer | null
0 to 9007199254740991
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json