Skip to main content

Update a contact

This endpoint allows you to update a contact.

The update command can be used to add ‘addons’ data to an existing contact. However, these data can’t be updated after added to the contact.

Some fields can’t be updated : addons, juridic type and customer’s ID linked to the contact. The update of “owner” contact's data can result in multiple domain trades!

It can occurs in two cases :

  • if you update the organization of a “body corporate” contact.
  • If you update the first name or last name of a “natural person” contact.

These trades will be billed to you.

Endpoint

PUT /registrar/v1/contacts/{handle}

Parameters

NameLocationRequiredTypeDefault valueDescription
handleURLYesStringHandle of the contact you want to update. Example : NSINT-123456
contactBodyYesContact-UpdateThe contact informations

Response

A success message

Example Request

PUT /registrar/v1/contacts/NSINT-1234
Content-Type: application/json
Body
{
"lastName": "Doe",
"firstName": "John",
"organization": "Compagny Corp",
"address": "12 rue du Champ",
"postalCode": "49000",
"city": "Angers",
"state": "Maine et Loire",
"country": "FR",
"email": "j.doe@compagny.fr",
"phone": "+33 123456789",
"fax": "+33 987654321",
"addons": {
"key": "value"
}
}

Example Response

{
"message": "Contact has been updated."
}