Retrieve Customer Contact Details by Contact ID

Returns the details of a contact by contact ID.

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

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

URI Parameters

Parameter Description Type
contactId Identifier of the contact in the database. Integer

Sample Request

Not applicable.

Sample Response

Success

HTTP Status Code: 200

Response Body:

<contact>
   <enabled>true</enabled>
   <default>true</default>
   <emailId>heisenberg@gmail.com</emailId>
   <firstName>Walter</firstName>
   <middlename>Hartwell</middlename>
   <lastName>White</lastName>
   <locale>en</locale>
</contact>

Failure

HTTP Status Code: 404

Response Body: The specified Contact with ID 1 was not found.