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

# Update individual client

> Update an existing individual client.

Updates an individual client. Accepts the same fields as creation: identity data, address and phone. Requires an API key with access level 3 or higher.

## Path parameters

<ParamField path="id" type="string" required>
  Unique identifier of the client to update.
</ParamField>

## Body

<ParamField body="first_name" type="string" required>
  Client's first name.
</ParamField>

<ParamField body="second_name" type="string">
  Client's second or middle name.
</ParamField>

<ParamField body="last_name" type="string" required>
  Client's last name.
</ParamField>

<ParamField body="email" type="string" required>
  Client's email address. Must be a valid email.
</ParamField>

<ParamField body="birth_date" type="string" required>
  Client's date of birth (`yyyy-mm-dd`).
</ParamField>

<ParamField body="address" type="object" required>
  Client's physical address.

  <Expandable title="address">
    <ParamField body="street_line1" type="string" required>
      Primary street address line.
    </ParamField>

    <ParamField body="street_line2" type="string">
      Secondary address line (suite, apartment, etc.).
    </ParamField>

    <ParamField body="city" type="string" required>
      City name.
    </ParamField>

    <ParamField body="postal_code" type="string" required>
      Postal or ZIP code.
    </ParamField>

    <ParamField body="state" type="string" required>
      State or province code. Use the subdivision code returned by [Get supported countries](/api-reference/management/individual-clients/get-countries).
    </ParamField>

    <ParamField body="state_code" type="string">
      State numeric code.
    </ParamField>

    <ParamField body="country" type="string" required>
      ISO 3166-1 alpha-3 country code (e.g., `ARG`, `USA`).
    </ParamField>

    <ParamField body="country_code" type="string">
      Country numeric code.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="phone_country_code" type="integer">
  Phone country code.
</ParamField>

<ParamField body="phone_number" type="long">
  Phone number.
</ParamField>

## Response

Returns the updated client object. See [Get individual client by ID](/api-reference/management/individual-clients/get-client) for the full field list.

<RequestExample>
  ```bash cURL theme={null}
  curl -X PUT "https://api.cryptomate.me/management/clients/individuals/4QWq1rQtjnLM0wMswTRY9AmM4XTvY4GG" \
    -H "x-api-key: $CRYPTOMATE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "first_name": "Maria",
      "second_name": "Julia",
      "last_name": "Barber",
      "email": "mjuliabarber@example.com",
      "birth_date": "1984-11-21",
      "address": {
        "street_line1": "Florida 9860",
        "city": "Del Viso",
        "postal_code": "1669",
        "state": "ARG-B",
        "country": "ARG"
      },
      "phone_country_code": 54,
      "phone_number": 1168860622
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "id": "4QWq1rQtjnLM0wMswTRY9AmM4XTvY4GG",
    "type": "individual",
    "status": "active",
    "first_name": "Maria",
    "second_name": "Julia",
    "last_name": "Barber",
    "email": "mjuliabarber@example.com",
    "birth_date": "1984-11-21",
    "phone_country_code": 54,
    "phone_number": 1168860622,
    "address": {
      "street_line1": "Florida 9860",
      "city": "Del Viso",
      "postal_code": "1669",
      "state": "ARG-B",
      "country": "ARG"
    }
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "code": "NOT_FOUND",
    "message": "Company client not found with id: 4QWq1rQtjnLM0wMswTRY9AmM4XTvY4GG"
  }
  ```
</ResponseExample>
