> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nevatal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Patient

> Update an existing patient's information

## Path Parameters

<ParamField path="id" type="string" required>
  The patient ID
</ParamField>

## Body Parameters

All fields are optional. Only include the fields you want to update.

<ParamField body="firstName" type="string">Patient's first name</ParamField>
<ParamField body="lastName" type="string">Patient's last name</ParamField>
<ParamField body="email" type="string">Email address</ParamField>
<ParamField body="phone" type="string">Phone number with country code</ParamField>
<ParamField body="dateOfBirth" type="string">Date of birth (`YYYY-MM-DD`)</ParamField>
<ParamField body="gender" type="string">Gender: `male`, `female`, `other`</ParamField>
<ParamField body="address" type="object">Patient address object</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PUT "https://api.nevatal.com/api/v1/patients/pat_abc123" \
    -H "Authorization: Bearer nvtl_your_api_key" \
    -H "Content-Type: application/json" \
    -d '{
      "email": "maria.garcia@newdomain.com",
      "phone": "+573009999999"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "pat_abc123",
    "firstName": "María",
    "lastName": "García",
    "email": "maria.garcia@newdomain.com",
    "phone": "+573009999999",
    "documentType": "CC",
    "documentNumber": "1234567890",
    "updatedAt": "2025-03-16T14:00:00Z"
  }
  ```
</ResponseExample>
