> For the complete documentation index, see [llms.txt](https://chekin.gitbook.io/chekin-public-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chekin.gitbook.io/chekin-public-api/api-reference/guests/update-guest.md).

# Update Guest

The "Update Guest" endpoint is designed for modifying the details of an existing guest record, identified by their unique ID. This operation allows for the adjustment of guest information, ensuring that profiles are kept accurate and up-to-date, which is essential for managing guest experiences and compliance with any legal requirements

### **Header Parameters:**

* **Authorization** *(string) <mark style="color:red;">**\***</mark>**Mandatory***\
  Required for authentication and authorization. You'll need to include a valid token here to access the reservations

### Path Parameters:

* **id** *(string, uuid)* *<mark style="color:red;">**\***</mark>**Mandatory***\
  The unique identifier of the room that is being updated

### **Body Parameters:**

* **name** (*string*)\
  The guest's first name.
* **surname** (*string*)\
  The guest's last name or family name.
* **birth\_date** (*string*)\
  The guest's date of birth, in YYYY-MM-DD format.
* **nationality** (*string*)\
  The guest's nationality.
* **residence\_country** (*string*)\
  The country of the guest's permanent residence.
* **document\_type** (*string*)\
  The type of identification document provided by the guest.
* **document\_number** (*string*)\
  The number of the guest's identification document.
* **document\_issue\_date** (*string*)\
  The issue date of the identification document, in YYYY-MM-DD format.
* **gender** (*string*)\
  The guest's gender.
* **reservation\_id** (*string*)\
  The ID of the reservation associated with the guest.
* **signature** (*string*)\
  The guest's handwritten signature, sent as a base64 data URI — for example `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB...`. The accepted image formats are `jpeg`, `jpg`, `png` and `gif`.

{% openapi src="/files/2YNWdcD7SWYAbJN2lC4R" path="/guests/{id}" method="patch" %}
[Chekin-Chekin-1.0.0-resolved.json](https://3564732132-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfAJzL2tAGO9ZwOToBa0R%2Fuploads%2Fgit-blob-0641a0e07e27281f11fe82de446c7229bfe15c1e%2FChekin-Chekin-1.0.0-resolved.json?alt=media)
{% endopenapi %}
