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.
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.
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.
Legal type of the user.
Contact person first name.
Contact person middle name.
Contact person last name.
Contact phone, up to 15 digits. Required and must not be empty.
Optional. Country part of the user's post address.
Optional. Index part of the user's post address.
Optional. Region part of the user's post address.
Optional. City part of the user's post address.
Optional. Street part of the user's post address.
Industrial Enterprises Classifier, also known as KPP. Used in Russia. For legal_entity only.
User legal name. For legal_entity only.
Optional. All-Russian Classifier of Enterprises and Organizations, 8 or 10 characters.
Optional. State registration number, up to 15 characters. For example EIN in the USA or OGRN in Russia.
Taxpayer identification number.
Country part of the user's registered address.
Index part of the user's registered address.
Region part of the user's registered address.
City part of the user's registered address.
Street part of the user's registered address.
Personal info updated
true if request finished successfully.
trueBad request. The response body carries the API-level error code in status.code. Validation failures also include an errors array naming each offending parameter.
Error response object
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?