• 获取淘宝/天猫购买到商品的订单详情——buyer_order_detail


    前往测试接口

    公共参数

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

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

    请求参数

    请求参数:order_id=&onlystatus=0

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

    响应参数

    Version: Date:

    名称类型必须示例值描述

    take_baby

    String0

    payment_alipay

    String0支付宝

    seller_delivery

    String0卖家收货地址

    confirm_time

    String0确认时间

    evaluate_time

    String0评价时间

    delivery_countdown

    String0商品到达剩余时间

    trade_status

    String0订单状态: 交易成功交易状态

    delivery_way

    String0logistic送货方式

    logistics_company

    String0顺丰速运物流公司

    waybill

    Bigint076743627xxxx运单号码

    logistics_follow

    String0顺丰速运物流跟踪

    delivery_addr

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

    buyer_message

    String0-买家备注

    seller_name

    String0selected官方旗舰店卖家昵称

    seller_real_name

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

    seller_city

    String0天津卖家所在城市

    seller_phone

    String0400-8001234客服电话

    order_num

    Bigint0298482016040012345订单号

    alipay_num

    Bigint02018121622001168940583001234支付宝订单号

    goods

    Mix0[{"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

    String0¥100.00商品金额

    logistics_money

    String0¥0.00物流费用

    total_money

    String0¥100.00总金额

    real_money

    String0¥100.00实际支付金额

    stepbar

    Mix0{"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": "评价"} ]]步骤

    请求示例

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

    接下来展示部分代码

    1. {
    2. “data”: [
    3. {
    4. “active”: false,
    5. “addressDetail”: “人民路313号(秦皇食府对面)万邦科技有限公司”,
    6. “area”: “渝水区”,
    7. “areaDivisionCode”: 360502,
    8. “buidFromChindIframe”: true,
    9. “chinaLand”: true,
    10. “city”: “新余市”,
    11. “cityDivisionCode”: 360500,
    12. “confidence”: 93,
    13. “country”: “”,
    14. “countryDivisionCode”: 1,
    15. “defaultAddress”: true,
    16. “defaultCode”: 1,
    17. “deliverId”: 6845502554,
    18. “divisionCode”: “360502”,
    19. “fillPoiAddress”: false,
    20. “forgin”: false,
    21. “fullAddress”: “江西省/新余市/渝水区/城南街道”,
    22. “fullName”: “张三”,
    23. “gAT”: false,
    24. “gmtCreate”: 1480486142000,
    25. “gmtModified”: 1495477303000,
    26. “guoguoAddress”: false,
    27. “hKOrMacauOrTW”: false,
    28. “helpBuyAddress”: false,
    29. “illegalCunTaoAddress”: false,
    30. “isPoiAddress”: false,
    31. “kinshipDeliverAddress”: false,
    32. “lastChoose”: false,
    33. “locationEnable”: false,
    34. “mobile”: “13979008888”,
    35. “mobileCode”: “86”,
    36. “needToUpgrade”: false,
    37. “needUpgrade”: false,
    38. “overSea”: false,
    39. “phone”: “0790-6666666”,
    40. “phoneCode”: “6666666”,
    41. “phoneInternationalCode”: “86”,
    42. “phoneSection”: “0790”,
    43. “post”: “338000”,
    44. “provDivisionCode”: 360000,
    45. “province”: “江西省”,
    46. “tAIWAN”: false,
    47. “town”: “城南街道”,
    48. “townDivisionCode”: 360502001,
    49. “userNumId”: 2601011849,
    50. “x”: “27.806949”,
    51. “y”: “114.944236
    52. },
    53. {
    54. “active”: false,
    55. “addressDetail”: “康泰路62号 玫瑰小区6期”,
    56. “area”: “渝水区”,
    57. “areaDivisionCode”: 360502,
    58. “buidFromChindIframe”: true,
    59. “chinaLand”: true,
    60. “city”: “新余市”,
    61. “cityDivisionCode”: 360500,
    62. “confidence”: 98,
    63. “country”: “”,
    64. “countryDivisionCode”: 1,
    65. “defaultAddress”: false,
    66. “defaultCode”: 0,
    67. “deliverId”: 6375759746,
    68. “divisionCode”: “360502”,
    69. “fillPoiAddress”: false,
    70. “forgin”: false,
    71. “fullAddress”: “江西省/新余市/渝水区/城南街道”,
    72. “fullName”: “李四”,
    73. “gAT”: false,
    74. “gmtCreate”: 1465220621000,
    75. “gmtModified”: 1495681978000,
    76. “guoguoAddress”: false,
    77. “hKOrMacauOrTW”: false,
    78. “helpBuyAddress”: false,
    79. “illegalCunTaoAddress”: false,
    80. “isPoiAddress”: false,
    81. “kinshipDeliverAddress”: false,
    82. “lastChoose”: false,
    83. “locationEnable”: false,
    84. “mobile”: “13979008888”,
    85. “mobileCode”: “86”,
    86. “needToUpgrade”: false,
    87. “needUpgrade”: false,
    88. “overSea”: false,
    89. “post”: “338000”,
    90. “provDivisionCode”: 360000,
    91. “province”: “江西省”,
    92. “tAIWAN”: false,
    93. “town”: “城南街道”,
    94. “townDivisionCode”: 360502001,
    95. “userNumId”: 2601011849,
    96. “x”: “27.79764”,
    97. “y”: “114.950212
    98. }
    99. ],
    100. from”: “taobao”,
    101. “error”: “”,
    102. “reason”: “”,
    103. “error_code”: “0000”,
    104. “cache”: 0,
    105. “api_info”: “today:7 max:10000”,
    106. “execution_time”: 0.704,
    107. “server_time”: “Beijing/2021-03-16 10:47:24”,
    108. “client_ip”: “127.0.0.1”,
    109. “call_args”: [],
    110. “api_type”: “taobao”,
    111. “translate_language”: “zh-CN”,
    112. “translate_engine”: “google_cn”,
    113. “server_memory”: “5.5MB”,
    114. “request_id”: “0.60501c3b778b7”
    115. }
    116. 添加地址响应示例:
    117. {
    118. data: {
    119. code: “0”,
    120. message: “操作成功”,
    121. returnValue: “{“deliverId”:13633678015}”,
    122. success: “true”
    123. },
    124. from: “taobao”,
    125. error: “”,
    126. reason: “”,
    127. error_code: “0000”,
    128. cache: 0,
    129. api_info: “today:41 max:10000”,
    130. execution_time: 0.89,
    131. server_time: “Beijing/2021-03-17 10:01:18”,
    132. client_ip: “127.0.0.1”,
    133. call_args: {
    134. contact_name: “姓名”,
    135. province: “浙江省”,
    136. city: “杭州市”,
    137. country: “渝水区”,
    138. town: “北山街道”,
    139. addr: “华星路xx号”,
    140. zip_code: “000000”,
    141. phone: “6711049”,
    142. mobile_phone: “13688889999”,
    143. is_def: “1”,
    144. auto_clear: “0
    145. },
    146. api_type: “taobao”,
    147. translate_language: “zh-CN”,
    148. translate_engine: “google_cn”,
    149. server_memory: “5.52MB”,
    150. request_id: “0.605162ed8df15”
    151. }
    152. 商品分类属性响应示例:
    153. {
    154. modifiedType: “”,
    155. nameAlias: “sixcos”,
    156. isParent: null,
    157. cid: 203301,
    158. modifiedTime: null,
    159. propName: “品牌”,
    160. sortOrder: -1,
    161. vid: 112174531,
    162. pid: 20000,
    163. features: [ ],
    164. name: “sixcos”,
    165. status: “normal”
    166. },
    167. {
    168. modifiedType: “”,
    169. nameAlias: “withcity”,
    170. isParent: null,
    171. cid: 203301,
    172. modifiedTime: null,
    173. propName: “品牌”,
    174. sortOrder: -1,
    175. vid: 4539858,
    176. pid: 20000,
    177. features: [ ],
    178. name: “withcity”,
    179. status: “normal”
    180. },
    181. {
    182. modifiedType: “”,
    183. nameAlias: “三分妄想”,
    184. isParent: null,
    185. cid: 203301,
    186. modifiedTime: null,
    187. propName: “品牌”,
    188. sortOrder: -1,
    189. vid: 554904174,
    190. pid: 20000,
    191. features: [ ],
    192. name: “三分妄想”,
    193. status: “normal”
    194. },
    195. {
    196. modifiedType: “”,
    197. nameAlias: “三次元绅士”,
    198. isParent: null,
    199. cid: 203301,
    200. modifiedTime: null,
    201. propName: “品牌”,
    202. sortOrder: -1,
    203. vid: 928926442,
    204. pid: 20000,
    205. features: [ ],
    206. name: “三次元绅士”,
    207. status: “normal”
    208. },
    209. {
    210. modifiedType: “”,
    211. nameAlias: “不眠夜”,
    212. isParent: null,
    213. cid: 203301,
    214. modifiedTime: null,
    215. propName: “品牌”,
    216. sortOrder: -1,
    217. vid: 79822486,
    218. pid: 20000,
    219. features: [ ],
    220. name: “不眠夜”,
    221. status: “normal”
    222. },
    223. {
    224. modifiedType: “”,
    225. nameAlias: “依依小天使”,
    226. isParent: null,
    227. cid: 203301,
    228. modifiedTime: null,
    229. propName: “品牌”,
    230. sortOrder: -1,
    231. vid: 560218574,
    232. pid: 20000,
    233. features: [ ],
    234. name: “依依小天使”,
    235. status: “normal”
    236. },
    237. {
    238. modifiedType: “”,
    239. nameAlias: “依媚”,
    240. isParent: null,
    241. cid: 203301,
    242. modifiedTime: null,
    243. propName: “品牌”,
    244. sortOrder: -1,
    245. vid: 6348155,
    246. pid: 20000,
    247. features: [ ],
    248. name: “依媚”,
    249. status: “normal”
    250. },
    251. {
    252. modifiedType: “”,
    253. nameAlias: “公主衣橱”,
    254. isParent: null,
    255. cid: 203301,
    256. modifiedTime: null,
    257. propName: “品牌”,
    258. sortOrder: -1,
    259. vid: 10419362,
    260. pid: 20000,
    261. features: [ ],
    262. name: “公主衣橱”,
    263. status: “normal”
    264. },
    265. {
    266. modifiedType: “”,
    267. nameAlias: “动漫世家”,
    268. isParent: null,
    269. cid: 203301,
    270. modifiedTime: null,
    271. propName: “品牌”,
    272. sortOrder: -1,
    273. vid: 142020492,
    274. pid: 20000,
    275. features: [ ],
    276. name: “动漫世家”,
    277. status: “normal”
    278. },
    279. {
    280. modifiedType: “”,
    281. nameAlias: “印之心”,
    282. isParent: null,
    283. cid: 203301,
    284. modifiedTime: null,
    285. propName: “品牌”,
    286. sortOrder: -1,
    287. vid: 109698756,
    288. pid: 20000,
    289. features: [ ],
    290. name: “印之心”,
    291. status: “normal”
    292. },
    293. {
    294. modifiedType: “”,
    295. nameAlias: “可依”,
    296. isParent: null,
    297. cid: 203301,
    298. modifiedTime: null,
    299. propName: “品牌”,
    300. sortOrder: -1,
    301. vid: 129209027,
    302. pid: 20000,
    303. features: [ ],
    304. name: “可依”,
    305. status: “normal”
    306. },
    307. {
    308. modifiedType: “”,
    309. nameAlias: “君乐多多”,
    310. isParent: null,
    311. cid: 203301,
    312. modifiedTime: null,
    313. propName: “品牌”,
    314. sortOrder: -1,
    315. vid: 575164056,
    316. pid: 20000,
    317. features: [ ],
    318. name: “君乐多多”,
    319. status: “normal”
    320. },
    321. {
    322. modifiedType: “”,
    323. nameAlias: “啊哇”,
    324. isParent: null,
    325. cid: 203301,
    326. modifiedTime: null,
    327. propName: “品牌”,
    328. sortOrder: -1,
    329. vid: 308116946,
    330. pid: 20000,
    331. features: [ ],
    332. name: “啊哇”,
    333. status: “normal”
    334. },
    335. {
    336. modifiedType: “”,
    337. nameAlias: “喵屋小铺”,
    338. isParent: null,
    339. cid: 203301,
    340. modifiedTime: null,
    341. propName: “品牌”,
    342. sortOrder: -1,
    343. vid: 554668026,
    344. pid: 20000,
    345. features: [ ],
    346. name: “喵屋小铺”,
    347. status: “normal”
    348. },
    349. {
    350. modifiedType: “”,
    351. nameAlias: “天使之羽”,
    352. isParent: null,
    353. cid: 203301,
    354. modifiedTime: null,
    355. propName: “品牌”,
    356. sortOrder: -1,
    357. vid: 4587584,
    358. pid: 20000,
    359. features: [ ],
    360. name: “天使之羽”,
    361. status: “normal”
    362. },
    363. {
    364. modifiedType: “”,
    365. nameAlias: “希薇妮”,
    366. isParent: null,
    367. cid: 203301,
    368. modifiedTime: null,
    369. propName: “品牌”,
    370. sortOrder: -1,
    371. vid: 125090407,
    372. pid: 20000,
    373. features: [ ],
    374. name: “希薇妮”,
    375. status: “normal”
    376. },
    377. {
    378. modifiedType: “”,
    379. nameAlias: “戈洛尼”,
    380. isParent: null,
    381. cid: 203301,
    382. modifiedTime: null,
    383. propName: “品牌”,
    384. sortOrder: -1,
    385. vid: 290922766,
    386. pid: 20000,
    387. features: [ ],
    388. name: “戈洛尼”,
    389. status: “normal”
    390. },
    391. {
    392. modifiedType: “”,
    393. nameAlias: “拉维雨”,
    394. isParent: null,
    395. cid: 203301,
    396. modifiedTime: null,
    397. propName: “品牌”,
    398. sortOrder: -1,
    399. vid: 198922326,
    400. pid: 20000,
    401. features: [ ],
    402. name: “拉维雨”,
    403. status: “normal”
    404. },
    405. {
    406. modifiedType: “”,
    407. nameAlias: “星河动漫”,
    408. isParent: null,
    409. cid: 203301,
    410. modifiedTime: null,
    411. propName: “品牌”,
    412. sortOrder: -1,
    413. vid: 105590770,
    414. pid: 20000,
    415. features: [ ],
    416. name: “星河动漫”,
    417. status: “normal”
    418. },
    419. {
    420. modifiedType: “”,
    421. nameAlias: “星漫域”,
    422. isParent: null,
    423. cid: 203301,
    424. modifiedTime: null,
    425. propName: “品牌”,
    426. sortOrder: -1,
    427. vid: 740124281,
    428. pid: 20000,
    429. features: [ ],
    430. name: “星漫域”,
    431. status: “normal”
    432. },
    433. {
    434. modifiedType: “”,
    435. nameAlias: “最不卖萌”,
    436. isParent: null,
    437. cid: 203301,
    438. modifiedTime: null,
    439. propName: “品牌”,
    440. sortOrder: -1,
    441. vid: 613018299,
    442. pid: 20000,
    443. features: [ ],
    444. name: “最不卖萌”,
    445. status: “normal”
    446. },
    447. {
    448. modifiedType: “”,
    449. nameAlias: “桃花源”,
    450. isParent: null,
    451. cid: 203301,
    452. modifiedTime: null,
    453. propName: “品牌”,
    454. sortOrder: -1,
    455. vid: 139213,
    456. pid: 20000,
    457. features: [ ],
    458. name: “桃花源”,
    459. status: “normal”
    460. },

     

  • 相关阅读:
    Hbase原理与实践(学习笔记一:基本概念):
    若依微服务如何处理Long类型精度丢失问题?
    Java版工程行业管理系统源码-专业的工程管理软件- 工程项目各模块及其功能点清单
    微信小程序开发之会议OA首页后台数据交互(内带新知识点分享)
    springboot游戏道具在线交易平台毕业设计源码171956
    索尼 toio™ 应用创意开发征文|创新音乐创作工具的诞生
    西门子PLC S7-200和S7-300有什么差别?如何进行远程上下载?
    【数据分析实战】金融评分卡建立
    学习一下 常说的节流
    Spring AOP实现 | 代理模式分析
  • 原文地址:https://blog.csdn.net/Noah_ZX/article/details/126170532