Entrar

Atualizar cliente

PUT https://{organization}.myguper.com/api/register/customer

Atualiza um cadastro de cliente. Apenas id é obrigatório; qualquer outro campo presente no corpo é atualizado e o que for omitido fica inalterado. Aplica a mesma sanitização do endpoint de criação (telefone via libphonenumber, e-mail em minúsculas, documento apenas com alfanuméricos).

Try-it values populated from environment ACME (Demo)


Autenticação

Token

Send your user token in the x-guper-authorization header.

Cabeçalhos

Name Type Description
x-guper-authorization * string User token issued by Guper.
Content-Type * string Always `application/json` for endpoints that accept a JSON body.

Corpo da requisição

Content-Type: application/json

{
    "id": 683752,
    "name": "Tintin",                                           // optional
    "entityType": "individual",                                 // optional
    "document": "41236587422",                                  // optional
    "email": "tintim@guper.co",                                 // optional
    "countryCallingCode": 55,                                   // optional
    "cellphone": "19982456598",                                 // optional
    "dateOfBirth": "1989-03-29",                                // optional
    "postalCode": "13450000",                                   // optional
    "gender": "male",                                           // optional
    "language": "pt_BR",                                        // optional
    "optin": "2026-05-03T10:00:00-03:00",                       // optional
    "privacyAccepted": "2026-05-03T10:00:00-03:00"              // optional
}

Respostas

{
    "id": 683752,
    "name": "Tintin",
    "email": "tintim@guper.co",
    "countryCallingCode": 55,
    "cellphone": "19982456598",
    "document": "41236587422",
    "gender": "male",
    "postalCode": "13450000",
    "dateOfBirth": "1989-03-29",
    "language": "pt_BR",
    "updatedAt": "2026-05-03T10:00:00-03:00"
}
Copied to clipboard