Taobao/Tmall buyer_order_list-Get the purchased product order list API return value description

Taobao/Tmall Get the Purchased Commodity Order List API Return Value Description :
Click Register to get the key and secret test account
Public parameters: The
name type must describe the
key String is the call key (must be spliced ​​in the URL by GET)
secret String is the call The key
api_name String is the API interface name (included in the request address) [item_search, item_get, item_search_shop, etc.]
cache String No [yes, no] The default yes, the cached data will be called, and the speed is faster
result_type String No [json,jsonu ,xml,serialize,var_export] returns the data format, the default is json, the output content of jsonu can be read directly in Chinese
lang String No [cn,en,ru] translation language, the default cn Simplified Chinese
version String No API version

Request parameter:
request parameter: page=1&tab_code=all
parameter description: page: page number
tab_code:all,waitPay,waitSend,waitConfirm,waitRate
-tag type (all, to be paid, to be shipped, to be confirmed, to be evaluated)
cookie:base64 Encrypted cookie

Response parameters:
order_id Bigint 367668864711001234 order ID
shop_name String recharge center store name
seller_id Bigint 814074396 seller ID
seller_nick String Junbao phone charge recharge franchise store seller nickname
goods Mix [{"goods_name": "Call charge recharge-Jiangxi Telecom", "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": "Recharge number: 199xxxxxxxx \nRecharge denomination: 10 yuan"}]

Example request:

<?php

// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://api.onebound.cn/taobao/demo/sdk2020/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/taobao/buyer_order_list/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&page=1&tab_code=all";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>

API 工具
[API SDK调用示例](http://console.open.onebound.cn/console/?i=Andy)
[APISDK下载](http://console.open.onebound.cn/console/?i=Andy)
[API测试工具](http://console.open.onebound.cn/console/?i=Andy)

如何开通API测试,[点击立即开通](http://console.open.onebound.cn/console/?i=Andy)

Guess you like

Origin blog.csdn.net/wx_19970108018/article/details/115123602