Retrieve Customer Contacts by Customer ID

Returns a list of contacts for the given customer ID.

Method Type URI
GET v90/ws/customer/{customerId}/contact.ws

URI Parameters

Parameter Description Type
customerId Specify the customer ID. Integer

Sample Request

Not applicable.

Sample Response

Success

HTTP Status Code: 200

Response Body:

<listResponse type="contact" count="1">
   <instance contactId="16" emailId="heisenberg@gmail.com" customerId="23" name="Walter Hartwell White" enabled="true" default="true" firstName="Walter" middleName="Hartwell" lastName="White" locale="en"/>
</listResponse>

Failure

HTTP Status Code: 404

Response Body: The specified Customer with ID 21 was not found.