POST api/UpdateCustomerInfo?CustomerID={CustomerID}&APIToken={APIToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | string |
Required |
|
| APIToken | string |
Required |
Body Parameters
CustomerChangeShipping| Name | Description | Type | Additional information |
|---|---|---|---|
| Type | string |
None. |
|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Zip | string |
None. |
|
| string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Type": "sample string 1",
"Address1": "sample string 2",
"Address2": "sample string 3",
"City": "sample string 4",
"State": "sample string 5",
"Zip": "sample string 6",
"Email": "sample string 7"
}
application/xml, text/xml
Sample:
<CustomerChangeShipping xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrinkMoreWaterService.Models"> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <City>sample string 4</City> <Email>sample string 7</Email> <State>sample string 5</State> <Type>sample string 1</Type> <Zip>sample string 6</Zip> </CustomerChangeShipping>
application/x-www-form-urlencoded
Sample:
Type=value&Address1=value&Address2=value&City=value&State=value&Zip=value&Email=value
Response Information
Resource Description
CustomerUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| error | boolean |
None. |
|
| errorMessage | string |
None. |
|
| result | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"error": true,
"errorMessage": "sample string 2",
"result": "sample string 3"
}
application/xml, text/xml
Sample:
<CustomerUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DrinkMoreWaterService.Models"> <error>true</error> <errorMessage>sample string 2</errorMessage> <result>sample string 3</result> </CustomerUpdate>