Update Channel Partner Details

Updates the details of a channel partner.

Method Type URI
POST v90/ws/partner/{partnerId}.ws

URI Parameters

Parameter Description Type
partnerId Specify the channel partner ID. Integer

Sample Request

See Sample XML for Channel Partner Web Services.

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

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: ID 8 does not exist.