前往测试接口

公共参数

请求地址: https://api-gw.onebound.cn/taobao/buyer_order_detail

名称 类型 必须 描述
key String 调用key(必须以GET方式拼接在URL中)
secret String 调用密钥
api_name String API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cache String [yes,no]默认yes,将调用缓存的数据,速度比较快
result_type String [json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
lang String [cn,en,ru]翻译语言,默认cn简体中文
version String API版本

请求参数

请求参数:order_id=&onlystatus=0

参数说明:order_id:订单ID
token:SaaS授权

响应参数

Version: Date:

名称 类型 必须 示例值 描述

take_baby

String 0

payment_alipay

String 0 支付宝

seller_delivery

String 0 卖家收货地址

confirm_time

String 0 确认时间

evaluate_time

String 0 评价时间

delivery_countdown

String 0 商品到达剩余时间

trade_status

String 0 订单状态: 交易成功 交易状态

delivery_way

String 0 logistic 送货方式

logistics_company

String 0 顺丰速运 物流公司

waybill

Bigint 0 76743627xxxx 运单号码

logistics_follow

String 0 顺丰速运 物流跟踪

delivery_addr

Bigint 0 peng,19900001111,江西省 新余市 渝水区 城北街道 人民北路313号 ,338000 收货地址

buyer_message

String 0 - 买家备注

seller_name

String 0 selected官方旗舰店 卖家昵称

seller_real_name

String 0 绫致时装销售(天津)有限公司 卖家实名

seller_city

String 0 天津 卖家所在城市

seller_phone

String 0 400-8001234 客服电话

order_num

Bigint 0 298482016040012345 订单号

alipay_num

Bigint 0 2018121622001168940583001234 支付宝订单号

goods

Mix 0 [{"auction_url": "//trade.taobao.com/trade/detail/tradeSnap.htm?tradeID=29848201604571xxxx", "goods_id": null, "goods_img": "//img.alicdn.com/imgextra/i1/849905958/O1CN011tsoDu6YZLBaF7F_!!849905958.jpg", "goods_name": "Selected/斯莱德马海毛羊毛混纺色块男士毛衫", "goods_info": [{"name": "颜色", "value": "碳花灰色CHARCOAL MELANGE"}], "goods_status": "交易成功", "unit_price": "349.50", "goods_count": "1", "discount": null }] 商品信息

goods_money

String 0 ¥100.00 商品金额

logistics_money

String 0 ¥0.00 物流费用

total_money

String 0 ¥100.00 总金额

real_money

String 0 ¥100.00 实际支付金额

stepbar

Mix 0 {"current": 3, "options": [{"content": "拍下商品", "time": "2018-12-16 22:37:58"}, {"content": "付款到支付宝", "time": "2018-12-16 22:38:31"}, {"content": "卖家发货", "time": "2018-12-17 09:19:55"}, {"content": "确认收货", "time": "2019-01-01 09:20:07"}, {"content": "评价"} ]] 步骤

请求示例

  • Curl
  • PHP
  • PHPsdk
  • JAVA
  • C#
  • Python
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/taobao/buyer_order_detail/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&order_id=&onlystatus=0"

接下来展示部分代码

{
“data”: [
{
“active”: false,
“addressDetail”: “人民路313号(秦皇食府对面)万邦科技有限公司”,
“area”: “渝水区”,
“areaDivisionCode”: 360502,
“buidFromChindIframe”: true,
“chinaLand”: true,
“city”: “新余市”,
“cityDivisionCode”: 360500,
“confidence”: 93,
“country”: “”,
“countryDivisionCode”: 1,
“defaultAddress”: true,
“defaultCode”: 1,
“deliverId”: 6845502554,
“divisionCode”: “360502”,
“fillPoiAddress”: false,
“forgin”: false,
“fullAddress”: “江西省/新余市/渝水区/城南街道”,
“fullName”: “张三”,
“gAT”: false,
“gmtCreate”: 1480486142000,
“gmtModified”: 1495477303000,
“guoguoAddress”: false,
“hKOrMacauOrTW”: false,
“helpBuyAddress”: false,
“illegalCunTaoAddress”: false,
“isPoiAddress”: false,
“kinshipDeliverAddress”: false,
“lastChoose”: false,
“locationEnable”: false,
“mobile”: “13979008888”,
“mobileCode”: “86”,
“needToUpgrade”: false,
“needUpgrade”: false,
“overSea”: false,
“phone”: “0790-6666666”,
“phoneCode”: “6666666”,
“phoneInternationalCode”: “86”,
“phoneSection”: “0790”,
“post”: “338000”,
“provDivisionCode”: 360000,
“province”: “江西省”,
“tAIWAN”: false,
“town”: “城南街道”,
“townDivisionCode”: 360502001,
“userNumId”: 2601011849,
“x”: “27.806949”,
“y”: “114.944236”
},
{
“active”: false,
“addressDetail”: “康泰路62号 玫瑰小区6期”,
“area”: “渝水区”,
“areaDivisionCode”: 360502,
“buidFromChindIframe”: true,
“chinaLand”: true,
“city”: “新余市”,
“cityDivisionCode”: 360500,
“confidence”: 98,
“country”: “”,
“countryDivisionCode”: 1,
“defaultAddress”: false,
“defaultCode”: 0,
“deliverId”: 6375759746,
“divisionCode”: “360502”,
“fillPoiAddress”: false,
“forgin”: false,
“fullAddress”: “江西省/新余市/渝水区/城南街道”,
“fullName”: “李四”,
“gAT”: false,
“gmtCreate”: 1465220621000,
“gmtModified”: 1495681978000,
“guoguoAddress”: false,
“hKOrMacauOrTW”: false,
“helpBuyAddress”: false,
“illegalCunTaoAddress”: false,
“isPoiAddress”: false,
“kinshipDeliverAddress”: false,
“lastChoose”: false,
“locationEnable”: false,
“mobile”: “13979008888”,
“mobileCode”: “86”,
“needToUpgrade”: false,
“needUpgrade”: false,
“overSea”: false,
“post”: “338000”,
“provDivisionCode”: 360000,
“province”: “江西省”,
“tAIWAN”: false,
“town”: “城南街道”,
“townDivisionCode”: 360502001,
“userNumId”: 2601011849,
“x”: “27.79764”,
“y”: “114.950212”
}
],
“from”: “taobao”,
“error”: “”,
“reason”: “”,
“error_code”: “0000”,
“cache”: 0,
“api_info”: “today:7 max:10000”,
“execution_time”: 0.704,
“server_time”: “Beijing/2021-03-16 10:47:24”,
“client_ip”: “127.0.0.1”,
“call_args”: [],
“api_type”: “taobao”,
“translate_language”: “zh-CN”,
“translate_engine”: “google_cn”,
“server_memory”: “5.5MB”,
“request_id”: “0.60501c3b778b7”
}添加地址响应示例:
{
data: {
code: “0”,
message: “操作成功”,
returnValue: “{“deliverId”:13633678015}”,
success: “true”
},
from: “taobao”,
error: “”,
reason: “”,
error_code: “0000”,
cache: 0,
api_info: “today:41 max:10000”,
execution_time: 0.89,
server_time: “Beijing/2021-03-17 10:01:18”,
client_ip: “127.0.0.1”,
call_args: {
contact_name: “姓名”,
province: “浙江省”,
city: “杭州市”,
country: “渝水区”,
town: “北山街道”,
addr: “华星路xx号”,
zip_code: “000000”,
phone: “6711049”,
mobile_phone: “13688889999”,
is_def: “1”,
auto_clear: “0”
},
api_type: “taobao”,
translate_language: “zh-CN”,
translate_engine: “google_cn”,
server_memory: “5.52MB”,
request_id: “0.605162ed8df15”
}
商品分类属性响应示例:
{
modifiedType: “”,
nameAlias: “sixcos”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 112174531,
pid: 20000,
features: [ ],
name: “sixcos”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “withcity”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 4539858,
pid: 20000,
features: [ ],
name: “withcity”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “三分妄想”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 554904174,
pid: 20000,
features: [ ],
name: “三分妄想”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “三次元绅士”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 928926442,
pid: 20000,
features: [ ],
name: “三次元绅士”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “不眠夜”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 79822486,
pid: 20000,
features: [ ],
name: “不眠夜”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “依依小天使”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 560218574,
pid: 20000,
features: [ ],
name: “依依小天使”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “依媚”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 6348155,
pid: 20000,
features: [ ],
name: “依媚”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “公主衣橱”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 10419362,
pid: 20000,
features: [ ],
name: “公主衣橱”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “动漫世家”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 142020492,
pid: 20000,
features: [ ],
name: “动漫世家”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “印之心”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 109698756,
pid: 20000,
features: [ ],
name: “印之心”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “可依”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 129209027,
pid: 20000,
features: [ ],
name: “可依”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “君乐多多”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 575164056,
pid: 20000,
features: [ ],
name: “君乐多多”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “啊哇”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 308116946,
pid: 20000,
features: [ ],
name: “啊哇”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “喵屋小铺”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 554668026,
pid: 20000,
features: [ ],
name: “喵屋小铺”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “天使之羽”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 4587584,
pid: 20000,
features: [ ],
name: “天使之羽”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “希薇妮”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 125090407,
pid: 20000,
features: [ ],
name: “希薇妮”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “戈洛尼”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 290922766,
pid: 20000,
features: [ ],
name: “戈洛尼”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “拉维雨”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 198922326,
pid: 20000,
features: [ ],
name: “拉维雨”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “星河动漫”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 105590770,
pid: 20000,
features: [ ],
name: “星河动漫”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “星漫域”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 740124281,
pid: 20000,
features: [ ],
name: “星漫域”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “最不卖萌”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 613018299,
pid: 20000,
features: [ ],
name: “最不卖萌”,
status: “normal”
},
{
modifiedType: “”,
nameAlias: “桃花源”,
isParent: null,
cid: 203301,
modifiedTime: null,
propName: “品牌”,
sortOrder: -1,
vid: 139213,
pid: 20000,
features: [ ],
name: “桃花源”,
status: “normal”
},

获取淘宝/天猫购买到商品的订单详情——buyer_order_detail相关推荐

  1. 淘宝/天猫按图搜索商品API接口,以图搜商品API接口,图片搜索API接口

    一.淘宝/天猫按图搜索商品API接口,拍立淘搜索图接口,以图搜商品API接口代码分享 1.公共参数: 名称 类型 必须 描述 key String 是 调用key(必须以GET方式拼接在URL中) s ...

  2. 淘宝/天猫图片识别商品接口,1688图片识别商品API接口

    淘宝/天猫图片识别商品接口,1688图片识别商品API接口接口代码如下: 1.公共参数: 名称 类型 必须 描述 key String 是 调用key(必须以GET方式拼接在URL中) secret ...

  3. 怎样获取淘宝/天猫商品评论API数据

    一.接口参数说明:  item_review-获得淘宝/天猫商品评论API接口,包含评论内容.评论日期.评论商品属性.评论ID.买家昵称.追评图片等,价格低至几厘,详情请加我,或者私聊我,或者是点击更 ...

  4. 如何从详情页获取淘宝/天猫商品的分类?

    熟悉淘宝/天猫的人应该都知道,在商品的详情页是没有显示商品的所属分类的.而"商品分类"对我们的数据分析又是一个很重要的参数,那如何获取这个信息呢? 通过分析发现有两种方法,下面一一 ...

  5. python爬虫淘宝和天猫的区别_python爬虫获取淘宝天猫商品详细参数

    import re from collections import OrderedDict from bs4 import BeautifulSoup from pyquery import PyQu ...

  6. ERP获取淘宝天猫详情同步淘宝店铺订单接口到lazada,shopee,shopify等海外平台解决方案

    前言 最近有海外采购厂商提出想把天猫店铺的数据拿到后台ERP管理系统中,并能实现淘宝店铺订单同步推送至lazada,shopee,shopify等平台. 实现思路 1.点击注册获取key和secret ...

  7. API接口调用,获取淘宝天猫,拼多多,1688等平台商品详情,python采集爬虫数据

    Python技术 爬虫(又称为网页蜘蛛,网络机器人,在 FOAF 社区中间,更经常的称为网页追逐者):它是一种按照一定的规则,自动地抓取网络信息的程序或者脚本. 如果我们把互联网比作一张大的蜘蛛网,那 ...

  8. 利用URL语法命令,API 接口获取淘宝天猫,拼多多,1688 商品详情等平台,其他API接口

    cURL是一个利用URL语法在命令行下工作的文件传输工具,1997年首次发行.它支持文件上传和下载,所以是综合传输工具,但按传统,习惯称cURL为下载工具.cURL还包含了用于程序开发的libcurl ...

  9. taobao.product.get淘宝天猫oAuth2.0商品API接口

    taobao.product.get( 获取一个产品的信息 ) 天猫商家发布商品时,查询关联产品信息时使用,非商品查询接口.商品查询接口:taobao.item.seller.get 两种方式查看一个 ...

最新文章

  1. python求5_python(五)——运算符,小整数对象池
  2. Spring RestTemplate中文乱码解决方案
  3. 网络营销外包下不同类型企业网站有着不同的网络营销外包重点
  4. python画圣诞树代码-圣诞节!教你用Python画棵圣诞树
  5. oracle 数据库日常巡检:数据库基本状况、oracle资源使用、数据备份结果、性能、cpu等、数据安全、归档日志、会话、SGA/PGA使用情况
  6. python迷宫小游戏大全_Python迷宫小游戏源代码、源程序
  7. mysql 外键_为什么大多数互联网公司不用外键约束
  8. Android常用的 adb shell命令
  9. 企业内的ITSM软件与OA系统有什么区别和关系?
  10. Windows Server搭建SAN存储服务(一)
  11. conductor restart和rerun机制
  12. 三维数组matlab怎么画图,三维数组画图遇到问题
  13. 第四期:如何通过知晓云自动回复客服消息
  14. Nginx的安装与常用配置
  15. 5个适合新手练习的Python刷题网站
  16. 由114.114.114.114和8.8.8.8学习DNS
  17. 洛谷P1603 斯诺登的密码 题解
  18. Kubernetes HPA 动态弹性扩缩容
  19. 推荐几个超有趣的公众号
  20. P,AP, MAP,MRR。几种分类器评价指标

热门文章

  1. 【论文阅读】The Generals’ Scuttlebutt: Byzantine-Resilient Gossip Protocols
  2. TensorFlow学习——Tensorflow Object Detection API(win10,CPU)
  3. C# 获取Excel工作薄中Sheet页(工作表)名集合
  4. 参数use_sim_time
  5. Excel数据筛选匹配
  6. Python快速实现人脸识别
  7. 从身份证号里可以解析出出生地,年月日,性别及年龄
  8. 【JAVA长虹键法】第十式 桥接模式(23种设计模式)
  9. 矩形选框工具 部分快捷键练习
  10. Spring Boot开发之使用JustAuth组件实现第三方登录(QQ、微博等)