Loading...

Knowledge Base

Modify Domain Contact Details Using the API

When you want to modify domain contact details using the API. This article explains how to update contact information, important registry-specific limitations, suspended domain restrictions, archived contact behavior, and IRTP-related deprecation notices.

 

Modifying Contact Details

 

Attention

This API Call will be deprecated from 1st December 2016 due to IRTP changes in the system. Modifying a Contact is no longer allowed and only New Contacts can be created and associated with a domain.

Description

Modifies the details of the specified Contact.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
contact-idIntegerRequiredContact ID of the Contact whose details you want to modify
nameStringRequiredName of Contact
companyStringRequired

Name of the Company

the contact ID created for a natural person should have the company name listed as 'N/A'

emailStringRequiredEmail address of the Contact
address-line-1StringRequiredFirst line of address of the Contact
cityStringRequiredName of the City
zipcodeStringRequiredZIP code
phone-ccStringRequiredTelephone number Country Code
phoneStringRequiredTelephone number
countryStringRequired

Country code as per ISO 3166-1 alpha-2

address-line-2StringOptionalSecond line of address of the Contact
address-line-3StringOptionalThird line of address of the Contact
stateStringOptionalName of the State
fax-ccStringOptionalFax number Country Code
faxStringOptionalFax number
Note
  • You will encounter the below error message in case the Contact is associated with one or more suspended domain name(s):

    Attention

    Change of this contact is not allowed as it is associated with a suspended domain

  • Unused Contacts (except Default Contacts) that were created more than six months ago are archived. Details of archived Contacts cannot be modified using this API call.

     
  • You may not modify through this API call any Contact Details of any of the Contacts, of a registered .ES domain name.

    If you wish to transfer the ownership of a .ES domain name to another entity, the transfer procedure needs to be followed.

     

    You may add another .ES Contact and select the same as the Admin, Technical and / or Billing Contact.

     
  • You may not modify through this API call any Contact Details of any of the Contacts, of a registered .NYC domain name.

    You may add another .NYC Contact and select the same as the Registrant, Admin, Technical and / or Billing Contact.

     
  • You may only modify the phone-cc, phone, fax-cc, fax and email values for Contacts associated with a .RU domain name. 

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/contacts/modify.json?auth-userid=0&api-key=key&contact-id=0&name=abc&company=company&email=dummy@abc.com&address-line-1=address1&address-line-2=address2&city=city&country=nn&zipcode=0&phone-cc=0&phone=0

Response

Returns a hash map containing the below details:

  • Contact ID (entityid)

  • Action Type (actiontype)

  • Description of the Contact Modification Action (actiontypedesc)

  • Action ID of the Contact Modification Action (eaqid)

  • Contact Modification Action Status (actionstatus)

  • Description of the Contact Modification Action Status (actionstatusdesc)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.