> For the complete documentation index, see [llms.txt](https://navixy.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://navixy.com/docs/navixy-api/user-api/backend-api/resources/commons/user/personal_info.md).

# User personal info

## API actions

API path: `/user/personal_info`.

### update

Updates user personal info.

Require a plugin with **id=45**.

#### Parameters

* `legal_type` – string. Either "legal\_entity", "sole\_trader" or "individual".
* `first_name` – string. Contact person first name.
* `middle_name` – string. Contact person middle name.
* `last_name` – string. Contact person last name.
* `phone` – string. 0-15 digits. Optional. Contact phone. Not changes if not passed.
* `post_country` – string. Optional. Country part of user's post address.
* `post_index` – string. Optional. Index part of user's post address.
* `post_region` – string. Optional. Region part of user's post address.
* `post_city` – string. Optional. City from post address.
* `post_street_address` – string. Optional. User's post address,

and for `legal_entity` or `sole_trader`:

* `iec` – string. Industrial Enterprises Classifier aka "KPP". Used in Russia. For `legal_entity` only.
* `legal_name` – string. User legal (juridical) name. For `legal_entity` only.
* `okpo_code` - string, optional, 8 or 10 characters maximum. All-Russian Classifier of Enterprises and Organizations. Used in Russia.
* `registered_country` – string. Country part of user's registered address.
* `registered_index` – string. Index part of user's registered address.
* `registered_region` – string. Region part of user's registered address.
* `registered_city` – string. City from registered address.
* `registered_street_address` – string. User's registered address.
* `state_reg_num` - string, optional, 15 characters maximum. State registration number. E.g. EIN in the USA, OGRN in Russia.
* `tin` – string. Taxpayer identification number.

#### Example

cURL

{% code overflow="wrap" %}

```sh
curl -X POST 'https://api.eu.navixy.com/v2/user/personal_info/update' \
    -H 'Content-Type: application/json' \
    -d '{"hash": "22eac1c27af4be7b9d04da2ce1af111b", "first_name": "Charles", "middle_name": "Henry", "last_name": "Pearson", "legal_type": "legal_entity", "phone": "491761234567", "post_country": "Germany", "post_index": "61169", "post_region": "Hessen", "post_city": "Wiesbaden", "post_street_address": "Marienplatz 2", "registered_country": "Germany", "registered_index": "61169", "registered_region": "Hessen", "registered_city": "Wiesbaden", "registered_street_address": "Marienplatz 2", "state_reg_num": "12-3456789", "tin": "1131145180", "legal_name": "E. Biasi GmbH", "iec": "", "okpo_code": ""}'
```

{% endcode %}

#### Response

```json
{
  "success": true
}
```

#### Errors

* 222 - Plugin not found – when plugin **45** not available for user.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://navixy.com/docs/navixy-api/user-api/backend-api/resources/commons/user/personal_info.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
