Skip to main content

Update a manager

PATCH 

/companies/:companyID/managers/:id

Update a manager by his id

Request

Path Parameters

    id stringrequired

Body

required

    name stringrequired

    informations

    object

    personType stringrequired

    Possible values: [physical, legal]

    civility stringnullable

    Possible values: [mr, mrs]

    lastName stringnullable

    Mandatory if 'personType' is 'physical'.

    firstName stringnullable

    Mandatory if 'personType' is 'physical'.

    birthDate stringnullable

    Birth date of the manager

    birthTown stringnullable
    birthCountry stringnullable
    nationality stringnullable
    idNumber stringnullable

    Identity document number

    idDeliveryDate stringnullable

    Identity document delivery date

    idExpirationDate stringnullable

    Identity document expiration date

    deathDate stringnullable

    Death date of the manager

    legalSocialReason stringnullable

    Mandatory if 'personType' is 'legal'.

    legalSiren stringnullable
    legalSiret stringnullable
    legalApeCode stringnullable
    legalRegistrationCity stringnullable
    legalRegistrationCountry stringnullable
    legalRegistrationCreationDate stringnullable
    legalRegistrationCessationDate stringnullable

    legalExecutives

    object[]

    nullable

    Possible values: <= 4

    List of legal executives (max 4).

  • Array [

  • firstName stringrequired
    lastName stringrequired
    function stringrequired
  • ]

  • addresses

    object[]

    nullable

    Possible values: <= 3

    List of addresses (max 3).

  • Array [

  • type stringnullable

    Possible values: [domicile, professional, fiscal]

    street stringnullable
    supplement stringnullable
    city stringnullable
    postalCode stringnullable
    country stringnullable
  • ]

  • phones

    object[]

    nullable

    Possible values: <= 3

    List of phone numbers (max 3).

  • Array [

  • type stringnullable

    Possible values: [landline, mobile]

    countryCode stringnullable
    number stringnullable
  • ]

Responses

Manager updated successfully

Schema

    id stringrequired
    name stringrequired
Loading...