公共参数
请求地址: 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": "评价"} ]] | 步骤 |
请求示例
-- 请求示例 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”
- },