PUT
/
customers
/
{customerId}
curl --request PUT \
  --url https://sandbox-api.superpagamentos.com/customers/{customerId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "Pedro",
  "lastName": "Alecrim",
  "email": "email@email.com",
  "phoneNumber": "00000000000",
  "document": "00000000000",
  "birthdate": "1994-10-04",
  "address": {
    "zipcode": 87654321,
    "street": "Rua B",
    "streetNumber": 200,
    "complement": "Casa 10",
    "reference": "Ao lado da padaria",
    "neighborhood": "Jardins",
    "city": "São Paulo",
    "state": "SP"
  }
}'
{
"data": {
"id": "cccfaed0-f346-4543-81ee-57b41db2aafa",
"firstName": "Pedro",
"lastName": "Alecrim",
"email": "email@email.com",
"phoneNumber": "00000000000",
"document": "00000000000",
"birthdate": "1994-10-04",
"address": {
"statusId": "APPROVED",
"zipcode": 87654321,
"street": "Rua B",
"streetNumber": 200,
"complement": "Casa 10",
"reference": "Ao lado da padaria",
"neighborhood": "Jardins",
"city": "São Paulo",
"state": "SP"
},
"statusId": "APPROVED",
"createdAt": "2025-05-31T22:41:16.755Z"
},
"message": "Cliente atualizado com sucesso"
}

Authorizations

Authorization
string
header
required

Token JWT gerado na rota de autenticação (/auth). Deve ser enviado no formato: Bearer <token>

Path Parameters

customerId
string
required

Identificador único do cliente

Body

application/json

Response

200
application/json

Cliente atualizado com sucesso

The response is of type object.