¥免费不需用户授权
根据订单获取买家openuid,最大查询30个
公共参数
请求地址:
HTTP地址
http://gw.api.taobao.com/router/rest
公共请求参数:
请求示例
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UserOpenuidGetbyorderRequest req = new UserOpenuidGetbyorderRequest();
UserOpenuidGetbyorderRequest.BuyerOrder obj1 = new UserOpenuidGetbyorderRequest.BuyerOrder();
obj1.setTid(24374837294L);
obj1.setBuyerNick(“tesapo”);
req.setTidInfos(obj1);
UserOpenuidGetbyorderResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
响应示例
<user_openuid_getbyorder_response>
<open_uids>
<open_uid_info>
3468364924
<buyer_nick>tesapo</buyer_nick>
<buyer_open_uid>sfhks+dnk=OY</buyer_open_uid>
</open_uid_info>
</open_uids>
</user_openuid_getbyorder_response>
异常示例
<error_response>
50
Remote service error
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>