Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

User personal info

The billing identity stored for an account, replaced wholesale on each update.

Personal info is the billing identity stored for an account: the legal name, registration numbers, and registered address that invoices are issued against.

Which fields apply depends on the account's legal type. iec and legal_name apply to legal_entity only. The registered address fields, okpo_code, state_reg_num, and tin apply to legal_entity or sole_trader.

The operation needs plugin 45 to be available to the user.

API actions

API base path: /user/personal_info.


Update personal info

post
/user/personal_info/update

Replace the user's personal and address information.

Requires the platform plugin with id 45. Without it the call fails with error code 222, plugin not found.

This is a full replacement, not a merge. Fields omitted from the request are cleared.

phone is required and must not be empty.

Authorizations
AuthorizationstringRequired

Either a user session hash or an API key, with the "NVX " prefix, for example "NVX 22eac1c27af4be7b9d04da2ce1af111b". Obtain a session hash from the userAuth operation, or create an API key from the API keys operations. A small number of operations accept a session hash only and reject an API key with error code 4; each says so in its description.

Body
legal_typestring · enumRequired

Legal type of the user.

Possible values:
first_namestringRequired

Contact person first name.

middle_namestringOptional

Contact person middle name.

last_namestringRequired

Contact person last name.

phonestring · max: 15Required

Contact phone, up to 15 digits. Required and must not be empty.

post_countrystringOptional

Optional. Country part of the user's post address.

post_indexstringOptional

Optional. Index part of the user's post address.

post_regionstringOptional

Optional. Region part of the user's post address.

post_citystringOptional

Optional. City part of the user's post address.

post_street_addressstringOptional

Optional. Street part of the user's post address.

iecstringOptional

Industrial Enterprises Classifier, also known as KPP. Used in Russia. For legal_entity only.

legal_namestringOptional

User legal name. For legal_entity only.

okpo_codestring · max: 10Optional

Optional. All-Russian Classifier of Enterprises and Organizations, 8 or 10 characters.

state_reg_numstring · max: 15Optional

Optional. State registration number, up to 15 characters. For example EIN in the USA or OGRN in Russia.

tinstringOptional

Taxpayer identification number.

registered_countrystringOptional

Country part of the user's registered address.

registered_indexstringOptional

Index part of the user's registered address.

registered_regionstringOptional

Region part of the user's registered address.

registered_citystringOptional

City part of the user's registered address.

registered_street_addressstringOptional

Street part of the user's registered address.

Responses
200

Personal info updated

application/json
successbooleanRead-onlyOptional

true if request finished successfully.

Example: true
post/user/personal_info/update
POST /v2/user/personal_info/update HTTP/1.1
Host: api.eu.navixy.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 444

{
  "legal_type": "legal_entity",
  "first_name": "text",
  "middle_name": "text",
  "last_name": "text",
  "phone": "text",
  "post_country": "text",
  "post_index": "text",
  "post_region": "text",
  "post_city": "text",
  "post_street_address": "text",
  "iec": "text",
  "legal_name": "text",
  "okpo_code": "text",
  "state_reg_num": "text",
  "tin": "text",
  "registered_country": "text",
  "registered_index": "text",
  "registered_region": "text",
  "registered_city": "text",
  "registered_street_address": "text"
}
{
  "success": true
}

Errors

These errors come in addition to the general error codes:

  • 222 - Plugin not found, when plugin 45 is not available to the user.

Last updated

Was this helpful?