POST User/UpdateUserAddress
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": "d8c8832e-3102-4cab-9166-2813abbfc70d", "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>d8c8832e-3102-4cab-9166-2813abbfc70d</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.