修改包裹收货人信息

请求信息

接口地址

http://oms.hkapi.esuhaitao.com/Order/UpdateConsignee

请求方式

POST

Head 参数

参数名说明类型特性默认值示例
Authorization

参数签名

把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例

string

Required

无。

输入参数

参数名说明类型特性默认值示例
OrderId

订单主键

integer

无。

无。

无。

Consignee

收货人信息

收货人信息

Required

无。

无。

参数名说明类型特性默认值示例
Name

收货人名称

string

Required

Max length: 32

无。

arthur

Mobile

收货人手机

string

Required

Max length: 16

无。

139252831XX

Country

收货国家

string

Required

Max length: 32

无。

中国

Province

收货省份

string

Required

Max length: 32

无。

广东

City

收货城市

string

Required

Max length: 32

无。

深圳

District

收货地区

string

Max length: 32

无。

南山区

Street

收货街区

string

Max length: 32

无。

科技园

Address

收货地址

string

Required

Max length: 256

无。

科技中路XXXXX

ZipCode

收货地址邮编

string

无。

无。

518067

IdcardNo

身份证地址

string

无。

无。

4403

请求参数格式

application/json 或 text/json

Sample:
{
  "OrderId": 1,
  "UserId": 2,
  "Consignee": {
    "Name": "sample string 1",
    "Mobile": "sample string 2",
    "Country": "sample string 3",
    "Province": "sample string 4",
    "City": "sample string 5",
    "District": "sample string 6",
    "Street": "sample string 7",
    "Address": "sample string 8",
    "ZipCode": "sample string 9",
    "IdcardNo": "sample string 10"
  },
  "OpUserId": 3
}

应答信息

资源说明

参数名说明类型特性默认值示例
Code integer

无。

无。

无。

Message string

无。

无。

无。

应答结果格式

application/json 或 text/json

Sample:
{
  "Code": 1,
  "Message": "sample string 2"
}