用户绑定或换绑【奇门】
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
bindCode | String | 必须 | 456321 | 绑定码 | |
openUserId | String | 必须 | 500001 | 淘宝用户ID | |
needMigrate | Boolean | 必须 | true | 是否需要搬迁包裹 如果为true ,则触发当前账号的包裹迁移到新绑定账号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
userId | String | 10493 | 物流商-用户ID |
userName | String | XYZ | 物流商-用户名称 |
success | Boolean | true | 服务是否成功 |
failCode | String | 1001 | 错误码; 1001 : 绑定码已失效 |
failMessage | String | 绑定码已失效 | 错误信息 |
{"needMigrate":true,"openUserId":"500001","bindCode":"456321"}
{ "userId":"10493", "userName":"XYZ", "success":true, "failCode":"1001", "failMessage":"绑定码已失效" }
{"success":"false","failCode":"sign-check-failure","failMessage":"Illegal request"}
错误码 | 错误描述 | 解决方案 |
---|