Updates a specified contact.
https://backoffice.hostcontrol.com/api/v1/contact/[contact_id]
Parameter | Required? | Description | Example value |
---|---|---|---|
organisation | optional | Name of the organisation. | Company Inc. |
name | required | Name of the customer. | John Doe |
gender | optional | Gender of the customer. | male |
address | required | Address of the customer. | Street 123 |
zipcode | required | Zipcode of the customer. | 1234AA |
city | required | City of the customer. | Groningen |
country | required | Short code of the country of the customer. | NL |
state | optional | State of the customer. If the country has states, this is parameter becomes required to fill in. | Groningen |
required | Email address of the customer. The email address has to be unique. | john@doe.com | |
voice | required | Telephone number of the customer. | +31.612345678 |
fax | optional | Fax number of the customer. | +31.123456789 |
vat_number | optional | VAT number of the customer. | NL001234567B01 |
extra | optional | Extra information for specific registries | Will be updated later on |
PUT https://backoffice.hostcontrol.com/api/v1/contact/55/
PUT Data
{
"name": "John Doe",
"address": "Modified Street 123",
"zipcode": "1234AA",
"city": "Groningen",
"country": "NL",
"state": "Groningen",
"email": "john@doe.com"
"voice": "+31.612345678",
}
Result
{
"result": {
"city": "Groningen",
"fax": "",
"voice": "+31.612345678",
"updated": "2013-10-22T11:46:14.084454+00:00",
"name": "John Doe",
"created": "2013-10-22T11:46:14.084419+00:00",
"gender": null,
"organisation": "",
"extra": {},
"zipcode": "1234AA",
"email": "john@doe.com",
"state": "Groningen",
"address": "Modified Street 123",
"domains": [],
"vat_number": null,
"country": {
"code": "NL",
"name": "Netherlands"
},
"type": "primary",
"id": 55
},
"success": true
}