Persons

Update a person.

Updates a person and returns it.

put/persons/{id}

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/persons/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Id of the person

Request body

idinteger

Unique identifier of a Person in Person register. This id is same as business partner's partnerId for type PERSON.

firstNamestring

First name.

lastNamestring required

Last name.

jobTitlestring

Job title.

versionstring date-time

Version. Not allowed in POST. Required in PUT.

Example request

{
  "invoicingInfo": {
    "dateOfBirth": "1990-01-01"
  }
}

Response

Person was successfully updated.

idinteger

Unique identifier of a Person in Person register. This id is same as business partner's partnerId for type PERSON.

firstNamestring

First name.

lastNamestring required

Last name.

jobTitlestring

Job title.

versionstring date-time

Version. Not allowed in POST. Required in PUT.

Example response

{
  "invoicingInfo": {
    "dateOfBirth": "1990-01-01"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.