v1

latestOpenAPI 3.1.02026-07-24890394.2 KB

Atualizar representante legal

Atualiza os dados de um representante legal para o onboarding.

patch/clients/{onboarding_id}/legal_representatives/{legal_representative_id}

Path parameters

onboarding_idstring required

Id da solicitação de cadastro.

legal_representative_idstring required

Id do representante legal.

Request body

namestring

Nome completo do representante legal.

emailstring

E-Mail da empresa.

phonestring

Telefone do representante legal.

birthDatestring date

Data de nascimento do representante legal.

nationalitystring

Código alpha-2 do país de origem do representante legal.

maritalStatus'single' | 'married'

Estado civil do representante legal.

kind'administrator' | 'attorney'

Tipo do representante legal.

subscriberKind'required' | 'participate' | 'dont_subscribe'

Tipo de assinatura.

representationKind'in_isolation' | 'together'

Tipo de representação.

identityDocumentNumberstring

Número do RG ou RNE do representante legal.

identityDocumentIssuingAgencystring

Órgão expedidor do RG ou RNE.

proofOfPowerDueDatestring

Validade do documento de comprovação de poderes.

Response

200

Example response

{
  "data": {
    "id": "b7eba684-abc1-458b-8685-f4ef7a8850a0",
    "type": "legalRepresentative",
    "attributes": {
      "name": "Michael Gary Scott",
      "birthDate": "1962-03-15",
      "nationality": "BR",
      "identityDocumentNumber": "123456789012",
      "identityDocumentIssuingAgency": "ssp",
      "maritalStatus": "single",
      "email": "scott@mscott.paper",
      "phone": "11999999999",
      "kind": "attorney",
      "subscriberKind": "required",
      "representationKind": "together",
      "createdAt": "2024-04-05T14:31:31.855-03:00",
      "updatedAt": "2024-04-05T14:37:48.058-03:00",
      "identityDocument": {
        "data": {
          "id": "2770db90-bdd4-4df3-a391-8c4e583eba1d",
          "type": "file",
          "attributes": {
            "filename": "identity-document.pdf",
            "content": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgID"
          }
        }
      },
      "proofOfPower": {
        "data": {
          "id": "9fe3343c-19bc-4453-a5b4-abccb8485f66",
          "type": "file",
          "attributes": {
            "filename": "proof-of-Power.pdf",
            "content": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgID"
          }
        }
      },
      "address": {
        "data": {
          "type": "address",
          "attributes": {
            "zipCode": "01452002",
            "street": "AV BRIG FARIA LIMA",
            "number": "1355",
            "complement": "ANDAR 15 SALA 5",
            "country": "BR",
            "state": "SP",
            "city": "SÃO PAULO",
            "neighborhood": "JARDIM PAULISTANO"
          }
        }
      },
      "pep": {
        "data": {
          "type": "shared",
          "attributes": {
            "kind": "none"
          }
        }
      }
    }
  }
}