当前位置: 首页 > news >正文

淘宝API接口系列,获取购买到的商品订单列表,卖出的商品订单列表,订单详情,订单物流,买家信息,收货地址列表,买家token

  • 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_idBigint0367668864711001234订单ID
shop_nameString0充值中心店铺名称
seller_idBigint0814074396卖家ID
seller_nickString0君宝话费充值专营店卖家昵称
goodsMix0[{"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;
}
```
```

 

http://www.lryc.cn/news/4202.html

相关文章:

  • ucos-ii 的任务调度原理和实现
  • Solon2 开发之容器,七、切面与函数环绕拦截
  • 代码随想录第十天(28)
  • 循环队列来了解一下!!
  • Idea打包springboot项目war包,测试通过
  • python+django高校师生健康信息管理系统pycharm
  • CUDA中的流序内存分配
  • 开源、低成本的 Xilinx FPGA 下载器(高速30MHz)
  • Maven专题总结
  • 谷粒商城--SPU和SKU
  • 二叉树OJ题(上)
  • 第一章 PDF语法
  • IntelliJ IDEA 创建JavaFX项目运行
  • IC封装常见形式
  • Linux通配符、转义符讲解
  • [OpenMMLab]提交pr时所需的git操作
  • pandas——groupby操作
  • webpack.config.js哪里找?react项目关闭eslint监测
  • OpenCV 图像梯度算子
  • Linux c编程之Wireshark
  • 极客时间_FlinkSQL 实战
  • Pytorch 混合精度训练 (Automatically Mixed Precision, AMP)
  • 使用太极taichi写一个只有一个三角形的有限元
  • 进程,线程
  • 第03章_基本的SELECT语句
  • 干货 | 简单了解运算放大器...
  • C++定位new用法及注意事项
  • 【Android笔记75】Android之翻页标签栏PagerTabStrip组件介绍及其使用
  • 【Kafka】【二】消息队列的流派
  • 现代 cmake (cmake 3.x) 操作大全