Retrieve Customer Details by Customer ID

Returns the details of a customer by customer ID.

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

URI Parameters

Parameter Description Type
customerId Identifier of the customer in the database. Integer

Sample Request

Not applicable.

Sample Response

Success

HTTP Status Code: 200

Response Body:

<customer>
    <type>org</type>
    <enabled>true</enabled>
    <name>Gray Matter Technologies</name>
    <description>737000$</description>
    <crmId>C10H15N</crmId>
    <refId>149.24</refId>
    <phone>(505)555-0193</phone>
    <fax>(505)555-0194</fax>
    <addresses>
        <shippingSameAsBilling>false</shippingSameAsBilling>
        <address>
            <type>billing</type>
            <street>Negra Arroyo Lane, 308</street>
            <city>Albuquerque</city><state>NM</state>
            <country>USA</country>
            <zip>87114</zip>
        </address>
        <address>
            <type>shipping</type>
            <street>4257 Isleta Blvd. SW</street>
            <city>Albuquerque</city>
            <state>NM</state>
            <country>USA</country>
            <zip>87105</zip>
        </address>
    </addresses>
    <vendorId>2</vendorId>
    <defaultContact>
        <emailId>heisenberg@gmail.com</emailId>
        <firstName>Walter</firstName>
        <middleName>Hartwell</middleName>
        <lastName>White</lastName>
        <locale>en</locale>
    </defaultContact>
</customer>  

Failure

HTTP Status Code: 404

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