天猫网厅运营商官方旗舰店获取用户身份信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
biz_order_id | Number | 必须 | 192470811201211 | 订单编号 | |
seller_nick | String | 必须 | tworkb8423 | 店铺名称 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | IdentityInfo | 返回身份信息 | |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAliqinTccTradeIdentityGetRequest req = new AlibabaAliqinTccTradeIdentityGetRequest(); req.setBizOrderId(192470811201211L); req.setSellerNick( "tworkb8423" ); AlibabaAliqinTccTradeIdentityGetResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | < alibaba_aliqin_tcc_trade_identity_get_response > < result > < biz_order_id >192470811191211</ biz_order_id > < card_num >339005198010109999</ card_num > < name >张三</ name > < address >浙江省杭州市</ address > < long_term >false</ long_term > < card_type >1</ card_type > < card_expire_date >2036-01-01</ card_expire_date > < start_date >2016-01-01</ start_date > < end_date >2036-01-01</ end_date > < biometric_seq >biometricSeq</ biometric_seq > < contact_info >json串</ contact_info > </ result > </ alibaba_aliqin_tcc_trade_identity_get_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|---|---|
isv.param-is-illegal | 输入参数不合法 | 请检查输入的参数,输入参数为订单号,只能为数字 |
isv.not-allow | 无权限使用该接口 | 确认是否为运营商旗舰店 |
isv.system-error | 系统内部错误 | 系统内部出错,请联系系统管理员 |
isv.no-record | 记录不存在 | 查询的记录不存在 |