Modifying a Contact

Synopsis

DescriptionA command to modify a contact object
URLhttps://toolkit.centralnic.com/srv/modify_handle
HTTP MethodPOST
Requires Authentication?Yes
Requires SSL?Yes
 
Query Parameters:
testThe test flag (eg 1 or 0, optional)
userYour Registrar ID (eg H12345)
passwordYour Toolkit Password
handleThe ID of the contact object to be modified
nameThe new name for the contact object (optional)
companyThe new company/organisation for the contact object (optional)
street1The new street address for the contact object (optional)
street2The new street address for the contact object (optional)
street3The new street address for the contact object (optional)
cityThe new city for the contact object (optional)
spThe new state/province for the contact object (optional)
postcodeThe new postcode for the contact object (optional)
countryThe new country for the contact object (optional)
phoneThe new phone number for the contact object (optional)
faxThe new fax number for the contact object (optional)
emailThe new email for the contact object (optional)
visibleWhether to show the contact object in WHOIS records (1 or 0, optional)

This function allows you to update the contact details of any contact object for which you are the "sponsor". You will be the "sponsor" for any contact object that is created through the create_handle, register or modify functions. You will also probably be the sponsor for any contact object that is the registrant for a domain on your account (the exception is when that contact object is also associated with domain names on another registrar's account, in that situation neither registrar has sponsorship).

Please note that this function must not be used merely to change the registrant for a domain name to an entirely new entity (as contacts may be associated with multiple domain names), but only for incremental corrections to contact details.

NB: You do not need to specify all the contact details if you only wish to change a subset of them.

Legacy Parameters

Prior to September 2006 this function accepted an address parameter for old-style flat address data. While this parameter is still supported, its use is not recommended in new client code.

Response Format

Responses from the server will have the form

Transaction-ID: e2ca01ad7135e787a5e97ad5b421ed74
Status: 0
Message: Handle modified OK

In the event of an error, the server will return a response of the form

Transaction-ID: e2ca01ad7135e787a5e97ad5b421ed74
Status: 1
Message: Permission denied.