文教厂商订单更新
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
coop_id | String | 必须 | 1665542541 | 合作商标识 | |
tb_order_no | String | 必须 | 1093225859150728 | 淘宝订单号 | |
coop_order_no | String | 必须 | TBSC1506230000050414 | 合作商的订单号 | |
coop_order_status | String | 必须 | UNDERWAY | 合作商的订单状态 | |
coop_order_snap | String | 可选 | 魔兽世界|tb13|6 | 商品信息快照 | |
coop_order_success_time | String | 可选 | 20150623 000005 | 充值成功时间 | |
failed_code | String | 可选 | 1067 | 失败代码 | |
failed_reason | String | 可选 | 淘宝订单不存在 | 失败原因 | |
version | String | 必须 | 1.0.0 | 接口版本 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
update_result | String | <?xml version=”1.0” encoding=”utf-8”?> <response> <tbOrderSuccess>T</tbOrderSuccess> <failedCode>xxx</failedCode> <failedReason>xxx</failedReason> </response> | 返回xml文件描述的内容 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); EduChargeZcUpdatesupplierorderRequest req = new EduChargeZcUpdatesupplierorderRequest(); req.setCoopId( "1665542541" ); req.setTbOrderNo( "1093225859150728" ); req.setCoopOrderNo( "TBSC1506230000050414" ); req.setCoopOrderStatus( "UNDERWAY" ); req.setCoopOrderSnap( "魔兽世界|tb13|6" ); req.setCoopOrderSuccessTime( "20150623 000005" ); req.setFailedCode( "1067" ); req.setFailedReason( "淘宝订单不存在" ); req.setVersion( "1.0.0" ); EduChargeZcUpdatesupplierorderResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 | < edu_charge_zc_updatesupplierorder_response > < update_result ><?xml version=”1.0” encoding=”utf-8”?> <response> <tbOrderSuccess>T</tbOrderSuccess> <failedCode>xxx</failedCode> <failedReason>xxx</failedReason> </response></ update_result > </ edu_charge_zc_updatesupplierorder_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 > |
错误码 | 错误描述 | 解决方案 |
---|