Update Customer Contact Details

Update the details of a customer contact.

NOTE   This method is identical for both customers and channel partners.

Method Type URI
POST v90/ws/contact/{contactId}.ws

URI Parameters

Parameter Description Type
contactId Specify the contact ID. Integer

Sample Request

See Sample XML for Contact Web Services.

NOTE   The XML must comply with the schema provided for Contact (see XSD for Contact Web Services).

Sample Response

Success

HTTP Status Code: 200

Response Body:

<contact>
   <enabled>true</enabled>
   <default>true</default>
   <emailId>breakingbadeee44@gmail.com</emailId>
   <firstName>Bryan</firstName>
   <middlename>Heisenberg</middlename>
   <lastName>Cranston</lastName>
   <locale>de</locale>
</contact>       

Failure

HTTP Status Code: 404

Response Body: Contact does not exist.