API: update_contact

Makes changes to a contact. It is used for both CZ and generic domains, with certain differences. Return code 1000 OK, 2004 Failed if the contact cannot be changed, 8001 This contact does not belong to your account if the contact is not assigned to your account, 8002 This contact is not allowed to be edited by this user if you do not have the right to change the contact, 8800 Malformed input in the case of invalid values in the input fields. Details of the failure are returned in the errors element. If the command is accepted successfully, an e-mail is generated for the contact holder to approve the changes. The structure of the parameters is identical to that of the command create_contact.

Important: the XML must have <ssid> as the first element inside <api> and the individual elements of the command in the order given by the schema (XSD validation uses sequence, so the order matters). The contact to be modified is identified by the <contact_id> element taken from list_contacts.

Parameters:

  • contact_id - contact identifier.
  • type - contact type. Allowed values: CZ for Czech domains and generic for generic domains (.com etc.)
  • name - first name and surname. Valid for Czech domains only.
  • firstname - first name. Valid for generic domains only.
  • lastname - surname. Valid for generic domains only.
  • organization - company name. Optional.
  • street - street and house number.
  • city - town/city.
  • psc - postcode.
  • cc - two-letter country code.
  • phone - telephone number in the format +420.123456789. Required for Czech domains.
  • disclose_phone - disclose the telephone number in the registry. Possible values: yes and no. Valid for Czech domains only.
  • fax - fax number in the format +420.123456789. Optional.
  • disclose_fax - disclose the fax number in the registry. Possible values: yes and no. Valid for Czech domains only.
  • email - e-mail address.
  • disclose_email - disclose the e-mail address in the registry. Possible values: yes and no. Valid for Czech domains only.
  • dic - VAT ID (DIČ). Valid for Czech domains only.
  • disclose_dic - disclose the VAT ID (DIČ) in the registry. Possible values: yes and no. Valid for Czech domains only.
  • ident_type - identification type. Possible values: op (national identity card number), passport (passport number), mpsv (social insurance number), ico (Company ID, IČO) and birthday (date of birth). Valid for Czech domains only.
  • ident_number - identification number. Valid for Czech domains only.
  • disclose_ident - disclose the identification number in the registry. Possible values: yes and no. Valid for Czech domains only.
  • notifyemail - e-mail address for notifications of changes. Optional. Valid for Czech domains only.
  • disclose_notifyemail - disclose the notification e-mail address in the registry. Possible values: yes and no. Valid for Czech domains only.

No return values.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<api>
<ssid>sygCqZlagT0OdBcgFwVio7uYsS69Rr</ssid>
<update_contact>
<contact_id>TEST007</contact_id>
<type>CZ</type>
<name>Test Testovič</name>
<organization>Testing Inc.</organization>
<street>Testovací­ 11/7</street>
<city>Testov</city>
<psc>87410</psc>
<cc>CZ</cc>
<phone>+420.602602602</phone>
<disclose_phone>yes</disclose_phone>
<fax/>
<disclose_fax>yes</disclose_fax>
<email>pav@oook.cz</email>
<disclose_email>no</disclose_email>
<dic/>
<disclose_dic>yes</disclose_dic>
<ident_type>birthday</ident_type>
<ident_number>19.8.1980</ident_number>
<disclose_ident>no</disclose_ident>
<notifyemail>pav@oook.cz</notifyemail>
</update_contact>
</api>
<?xml version="1.0" encoding="UTF-8"?>
<api>
<status code="1000">OK</status>
</api>
 
© 2005-2026 TELE3 | all rights reserved | Your IP 216.73.216.116
 we accept payments via Fio bankawe accept payments via Raiffeisenbankwe generate QR paymentsonline payments Visaonline payments MasterCardwe support IPv6DNSSEC domain securityGreenCloud electricity sharingDebian serverUbuntu serverProxmox Virtual Environmentaccredited and certified .CZ domain registrarCisco CCNA certification