POST User/updateCustomerAddress
Request Information
URI Parameters
None.
Body Parameters
ShippingAddressName | Description | Type | Additional information |
---|---|---|---|
UserId | globally unique identifier |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
PhoneNumber | string |
None. |
|
City | string |
None. |
|
Country | string |
None. |
|
State | string |
None. |
|
Name | string |
None. |
|
Pincode | string |
None. |
|
Lat | decimal number |
None. |
|
Long | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "ebb194a6-1b3e-4fe7-bd0b-700b2a7119b6", "Address1": "sample string 2", "Address2": "sample string 3", "PhoneNumber": "sample string 4", "City": "sample string 5", "Country": "sample string 6", "State": "sample string 7", "Name": "sample string 8", "Pincode": "sample string 9", "Lat": 10.1, "Long": 11.1 }
application/xml, text/xml
Sample:
<ShippingAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models"> <Address1>sample string 2</Address1> <Address2>sample string 3</Address2> <City>sample string 5</City> <Country>sample string 6</Country> <Lat>10.1</Lat> <Long>11.1</Long> <Name>sample string 8</Name> <PhoneNumber>sample string 4</PhoneNumber> <Pincode>sample string 9</Pincode> <State>sample string 7</State> <UserId>ebb194a6-1b3e-4fe7-bd0b-700b2a7119b6</UserId> </ShippingAddress>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.