Skip to main content
PATCH
/
waitlist
/
{id}
curl -X PATCH https://api.arca.example.com/waitlist/456e7890-e12b-34d5-c678-901234567def \
  -H "Content-Type: application/json" \
  -d '{
    "telefonePessoal": "11999887766",
    "enderecoNumero": "456"
  }'
{
  "id_Lista": "456e7890-e12b-34d5-c678-901234567def",
  "nomeRegistro": "Maria Silva",
  "nomeSocial": "Maria",
  "dataNascimento": "1990-05-15T00:00:00.000Z",
  "telefonePessoal": "11999887766",
  "contatoEmergencia": "11912345678",
  "enderecoRua": "Rua das Flores",
  "enderecoNumero": "456",
  "enderecoBairro": "Centro",
  "enderecoCidade": "São Paulo",
  "enderecoEstado": "SP",
  "enderecoCEP": "01234567",
  "id_Genero": 2,
  "id_CorPele": 1,
  "id_Escolaridade": 3,
  "isActive": true,
  "createdAt": "2024-03-15T10:30:00.000Z",
  "updatedAt": "2024-03-15T14:45:00.000Z"
}
Update an existing waitlist entry.

Authentication

This endpoint does not require authentication.

Path Parameters

id
string
required
The waitlist entry’s unique identifier (UUID).

Request Body

All fields are optional. Only include the fields you want to update.
nomeRegistro
string
Registry name. Must be between 1 and 150 characters.
nomeSocial
string
Social name. Must be between 1 and 100 characters.
dataNascimento
string
Date of birth in ISO format (YYYY-MM-DD).
telefonePessoal
string
Personal phone number. Must be between 1 and 20 characters.
contatoEmergencia
string
Emergency contact phone number. Must be between 1 and 20 characters.
enderecoRua
string
Street address. Must be between 1 and 255 characters.
enderecoNumero
string
Address number. Must be between 1 and 10 characters.
enderecoBairro
string
Neighborhood. Must be between 1 and 100 characters.
enderecoCidade
string
City. Must be between 1 and 100 characters.
enderecoEstado
string
State code. Must be exactly 2 characters.
enderecoCEP
string
Postal code (CEP). Must be exactly 8 digits.
id_Genero
number
Gender ID. Must be an integer greater than 0.
id_CorPele
number
Skin color ID. Must be an integer greater than 0.
id_Escolaridade
number
Education level ID. Must be an integer greater than 0.
curl -X PATCH https://api.arca.example.com/waitlist/456e7890-e12b-34d5-c678-901234567def \
  -H "Content-Type: application/json" \
  -d '{
    "telefonePessoal": "11999887766",
    "enderecoNumero": "456"
  }'
{
  "id_Lista": "456e7890-e12b-34d5-c678-901234567def",
  "nomeRegistro": "Maria Silva",
  "nomeSocial": "Maria",
  "dataNascimento": "1990-05-15T00:00:00.000Z",
  "telefonePessoal": "11999887766",
  "contatoEmergencia": "11912345678",
  "enderecoRua": "Rua das Flores",
  "enderecoNumero": "456",
  "enderecoBairro": "Centro",
  "enderecoCidade": "São Paulo",
  "enderecoEstado": "SP",
  "enderecoCEP": "01234567",
  "id_Genero": 2,
  "id_CorPele": 1,
  "id_Escolaridade": 3,
  "isActive": true,
  "createdAt": "2024-03-15T10:30:00.000Z",
  "updatedAt": "2024-03-15T14:45:00.000Z"
}

Build docs developers (and LLMs) love