pdd.order.information.get订单详情接口
查询单个订单详情(只能获取到成交时间三个月以内的交易信息) 注:虚拟订单充值手机号信息无法通过此接口获取。
1.请求方式:HTTP POST GET
2.请求地址:http://c0b.cc/R4rbK2
3.请求参数(复制Taobaoapi2014):
4.公共参数:
5.JAVA代码请求示例
package com.pdd.pop.sdk.http.demo;
import com.pdd.pop.sdk.common.util.JsonUtil;
import com.pdd.pop.sdk.http.api.pop.request.PddOrderInformationGetRequest;
import com.pdd.pop.sdk.http.api.pop.response.PddOrderInformationGetResponse;
import com.pdd.pop.sdk.http.PopClient;
import com.pdd.pop.sdk.http.PopHttpClient;
public class PopClientDemo {
public static void main(String[] args) throws Exception {
String clientId = "your clientId";
String clientSecret = "your clientSecret";
String accessToken = "your accessToken";
PopClient client = new PopHttpClient(clientId, clientSecret);
PddOrderInformationGetRequest request = new PddOrderInformationGetRequest();
request.setOrderSn("1");
PddOrderInformationGetResponse response = client.syncInvoke(request, accessToken);
System.out.println(JsonUtil.transferToJson(response));
}
}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}