- custom自定义API操作
- buyer_order_list获取购买到的商品订单列表
- buyer_order_detail获取购买到的商品订单详情
- buyer_order_express获取购买到的商品订单物流
- buyer_address_list收货地址列表
- buyer_address_add添加收货地址
- buyer_info买家信息
- buyer_token买家token
- seller_order_list获取卖出的商品订单列表
- seller_cat_props商品分类属性
- API接口详情
buyer_order_list-获取购买到的商品订单列表
公共参数
请求参数
参数说明:page:页码
tab_code:all,waitPay,waitSend,waitConfirm,waitRate
-标签类型(全部,待付款,待发货,待确认,待评价)
token:SaaS授权
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
order_id | Bigint | 0 | 367668864711001234 | 订单ID |
shop_name | String | 0 | 充值中心 | 店铺名称 |
seller_id | Bigint | 0 | 814074396 | 卖家ID |
seller_nick | String | 0 | 君宝话费充值专营店 | 卖家昵称 |
goods | Mix | 0 | [{"goods_name": "话费充值-江西电信", "goods_id": "16262273512", "goods_image": "//img.alicdn.com/tfs/TB1c8NJSFXXXXbgXFXXXXXXXXXX-184-184.png", "unit_price": "¥10.00", "original_price": null, "goods_count": "1", "goods_info": "充值号码:199xxxxxxxx \n充值面额:10元"}] | 商品列表 |
请求示例 Curl PHP PHPsdk JAVA C# Python
//using System.Net.Security;
//using System.Security.Cryptography.X509Certificates;
private const String method = "GET";
static void Main(string[] args)
{
String bodys = "";
// 请求示例 url 默认请求参数已经做URL编码
String url = "https://api-gw.onebound.cn/taobao/buyer_order_list/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&page=1&tab_code=all";
HttpWebRequest httpRequest = null;
HttpWebResponse httpResponse = null;
if (url.Contains("https://"))
{
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
}
else
{
httpRequest = (HttpWebRequest)WebRequest.Create(url);
}
httpRequest.Method = method;
if (0 < bodys.Length)
{
byte[] data = Encoding.UTF8.GetBytes(bodys);
using (Stream stream = httpRequest.GetRequestStream())
{
stream.Write(data, 0, data.Length);
}
}
try
{
httpResponse = (HttpWebResponse)httpRequest.GetResponse();
}
catch (WebException ex)
{
httpResponse = (HttpWebResponse)ex.Response;
}
Console.WriteLine(httpResponse.StatusCode);
Console.WriteLine(httpResponse.Method);
Console.WriteLine(httpResponse.Headers);
Stream st = httpResponse.GetResponseStream();
StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8"));
Console.WriteLine(reader.ReadToEnd());
Console.WriteLine("\n");
}
public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
{
return true;
}
```
```