DomainsAddContactProperties

For the registration of some domain names, the domain holder is required to have additional properties. By using command DomainsAddContactProperties, you can add these additional properties to an existing contact within your account. You can then use this contact to register or transfer domains with the TLDs below. You can find an overview below:

.nu domains
Companies
companyregnr
vatnr

Private customers
identificationnr

Please note: Please note: You can add these additional properties to a contact only once and these properties cannot be changed once added to a contact. You can create a new contact and then use this command to add these properties again.

Input

Parameter Value Example value
contact_id ID of the contact.
Retrieve with DomainsListContacts.
Parameter is required
234234
companyregnr KVK Nummer van de houder.
Parameter is only required if contact has a companyname.
5674345
vatnr VAT number
Parameter is only required if contact has a companyname.
NL19940213B01
identificationnr Number of pasport or ID document
Parameter is only required if contact does not have a company name and thus is a private customer.
217328321


Output

Parameter Value Example value
success command executed successfully 0 = error
1 = command executed successfully
command_response_message Error message
Only sent when value parameter success = 0
incorrect password


Example

<? require("class_versio_api.php"); unset($command); $command = array( "command" => "DomainsAddContactProperties", "contact_id" => "123", "identificationnr" => "217328321" ); $api = new Versio_api(); $versio = $api->api_send( $command ); IF($versio['success']==0) { echo("Error occured. Error code: ".$versio['command_response_code'].". Error message: ".$versio['command_response_message'].""); } else { echo("Additional properties succesfully added."); } ?>