Sign in

Update person

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

Updates a record in register.person. Only id is required; any other field present in the body is updated, anything omitted is left untouched. Same sanitization as the create endpoint (phone via libphonenumber, email lower-cased, document stripped to alphanumeric).

Try-it values populated from environment ACME (Demo)


Authentication

Token

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

Headers

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.

Request body

Content-Type: application/json

{
    "id": 1,
    "name": "Tintin",                                           // optional
    "entityType": "individual",                                 // optional
    "document": "32165987",                                     // optional
    "email": "tintin@guper.co",                                 // optional
    "countryCallingCode": 55,                                   // optional
    "cellphone": "19982456598",                                 // optional
    "dateOfBirth": "1989-03-29",                                // optional
    "postalCode": "13450000",                                   // optional
    "gender": "male",                                           // optional
    "language": "pt_BR"                                         // optional
}

Responses

Copied to clipboard