修改地址
请求信息
接口地址
http://user.hkapi.esuhaitao.com/Address
请求方式
PUT
输入参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| AddressName |
地址名称 |
string |
无。 |
无。 |
无。 |
| UserId |
会员用户 |
integer |
Required |
无。 |
无。 |
| TrueName |
收货人 |
string |
Required |
无。 |
无。 |
| IdCardNo |
身份证号码 |
string |
无。 |
无。 |
无。 |
| Mobile |
收货人手机 |
string |
Required |
无。 |
无。 |
| Tel |
收货人电话 |
string |
无。 |
无。 |
无。 |
| Province |
省份 |
string |
Required |
无。 |
无。 |
| City |
城市 |
string |
Required |
无。 |
无。 |
| District |
街区 |
string |
无。 |
无。 |
无。 |
| Address |
详细地址 |
string |
Required |
无。 |
无。 |
| ZipCode |
收货人邮编 |
string |
无。 |
无。 |
无。 |
| DefaultFlag |
默认地址 |
integer |
无。 |
无。 |
无。 |
| OpUserId |
操作人 |
integer |
无。 |
无。 |
无。 |
| AddressId |
地址库Id |
integer |
Required |
无。 |
无。 |
请求参数格式
application/json 或 text/json
Sample:
{
"AddressId": 1,
"AddressName": "sample string 2",
"UserId": 1,
"TrueName": "sample string 3",
"IdCardNo": "sample string 4",
"Mobile": "sample string 5",
"Tel": "sample string 6",
"Province": "sample string 7",
"City": "sample string 8",
"District": "sample string 9",
"Address": "sample string 10",
"ZipCode": "sample string 11",
"DefaultFlag": 1,
"OpUserId": 1
}
应答信息
资源说明
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Code | integer |
无。 |
无。 |
无。 |
|
| Message | string |
无。 |
无。 |
无。 |
应答结果格式
application/json 或 text/json
Sample:
{
"Code": 1,
"Message": "sample string 2"
}