订单详情查看(买家视角)
请求 URLPOST系统级输入参数
应用级输入参数
名称 | 类型 | 是否必须 | 描述 | 示例值 | |
---|---|---|---|---|---|
webSite | String | 是 | 站点信息,指定调用的API是属于国际站(alibaba)还是1688网站(1688) | 1688 | |
orderId | Long | 是 | 交易的订单id | 123456 | |
includeFields | String | 否 | 查询结果中包含的域,GuaranteesTerms:保障条款,NativeLogistics:物流信息,RateDetail:评价详情,OrderInvoice:发票信息。默认返回GuaranteesTerms、NativeLogistics、OrderInvoice。 | GuaranteesTerms,NativeLogistics,RateDetail,OrderInvoice | |
attributeKeys | String[] | 否 | 垂直表中的attributeKeys | [] | |
outOrderId | String | 否 | 外部订单id,控制幂等 | 1556246 |
返回结果
名称 | 类型 | 描述 | 示例值 | |
---|---|---|---|---|
result | alibaba.openplatform.trade.model.TradeInfo | 订单详情信息 | {} | |
errorCode | String | 错误代码 | ||
errorMessage | String | 错误描述 | ||
success | String | 是否成功 | true |
订单详情出参示例
1{
2 "result": {
3 "baseInfo": {
4 "allDeliveredTime": "20170913231916000-0700",
5 "businessType": "cn",
6 "buyerID": "b2b-2248544159",
7 "createTime": "20170913231708000-0700",
8 "id": 58218860983545944,
9 "modifyTime": "20170913234725000-0700",
10 "payTime": "20170913231727000-0700",
11 "refund": 0,
12 "sellerID": "b2b-2248564064",
13 "shippingFee": 6,
14 "status": "waitbuyerreceive",
15 "totalAmount": 6.15,
16 "discount": 0,
17 "buyerContact": {
18 "phone": "86-0571-81895955",
19 "imInPlatform": "b测试账号002",
20 "name": "乔的石",
21 "mobile": "18668184036",
22 "companyName": "阿里巴巴网络科技有限公司"
23 },
24 "sellerContact": {
25 "phone": "86-0571-88881888",
26 "email": "caigouwfw_1688@163.com",
27 "imInPlatform": "b测试账号110",
28 "name": "孟舒",
29 "mobile": "13312919596",
30 "companyName": "阿里巴巴网络有限公司"
31 },
32 "tradeType": "50060",
33 "refundStatus": "waitselleragree",
34 "refundPayment": 0,
35 "idOfStr": "58218860983545941",
36 "alipayTradeId": "2017091421001008480237437679",
37 "receiverInfo": {
38 "toFullName": "童恩杰",
39 "toDivisionCode": "330108",
40 "toPost": "312000",
41 "toTownCode": "330108002",
42 "toArea": "浙江省 杭州市 滨江区 长河街道"
43 },
44 "buyerLoginId": "b测试账号002",
45 "sellerLoginId": "b测试账号110",
46 "buyerUserId": 2248544159,
47 "sellerUserId": 2248564064,
48 "buyerAlipayId": "2088611489970483",
49 "sellerAlipayId": "2088611383470360",
50 "sumProductPayment": 0.3,
51 "stepPayAll": false
52 },
53 "nativeLogistics": {
54 "address": "杭州市滨江区网商路699号",
55 "area": "滨江区",
56 "areaCode": "330108",
57 "city": "杭州市",
58 "contactPerson": "童恩杰",
59 "mobile": "13666836263",
60 "province": "浙江省",
61 "zip": "312000",
62 "logisticsItems": [{
63 "deliveredTime": "20170913231917000-0700",
64 "logisticsCode": "BX107450035961376",
65 "type": "2",
66 "id": 107450035961376,
67 "status": "alreadysend",
68 "gmtModified": "20170913231916000-0700",
69 "gmtCreate": "20170913231916000-0700",
70 "fromPhone": "86-0571-88881888",
71 "fromMobile": "13312919596",
72 "logisticsBillNo": "不需要物流",
73 "subItemIds": "58218860984545941,
74 58218860985545941,
75 58218860986545941"
76 }],
77 "townCode": "330108002",
78 "town": "长河街道"
79 },
80 "productItems": [{
81 "itemAmount": 0.3,
82 "name": "测试扫码购富光勿拍2L*6件",
83 "price": 0.3,
84 "productID": 547486647009,
85 "productImgUrl": ["https: //cbu01.alicdn.com/img/ibank/2017/757/125/3950521757.80x80.jpg",
86 "https: //cbu01.alicdn.com/img/ibank/2017/757/125/3950521757.jpg"],
87 "productSnapshotUrl": "https: //trade.1688.com/order/offer_snapshot.htm?order_entry_id=128403042259997715",
88 "quantity": 1,
89 "refund": 0,
90 "skuID": 3315536521048,
91 "status": "waitsellersend",
92 "subItemID": 128403042259997710,
93 "type": "common",
94 "unit": "箱",
95 "guaranteesTerms": [],
96 "skuInfos": [{
97 "name": "颜色",
98 "value": "白色"
99 },
100 {
101 "name": "容量",
102 "value": "1.1L-2L"
103 }],
104 "entryDiscount": 0,
105 "specId": "28b952ec96c8b5c3ab0affc1b74923f0",
106 "quantityFactor": 1,
107 "statusStr": "等待卖家发货",
108 "refundStatus": "WAIT_SELLER_AGREE",
109 "logisticsStatus": 1,
110 "gmtCreate": "20180206152758000+0800",
111 "gmtModified": "20180206153325000+0800",
112 "gmtPayExpireTime": "2018-02-07 15: 27: 58",
113 "refundId": "TQ7257793022991577",
114 "subItemIDString": "128403042259997715"
115 },
116 {
117 "itemAmount": 0.05,
118 "name": "这个一个很好看好看的鞋子用于服务测试(大家不要动)",
119 "price": 0.1,
120 "productID": 558700975520,
121 "productImgUrl": [],
122 "productSnapshotUrl": "https: //trade.1688.com/order/offer_snapshot.htm?order_entry_id=58218860985545941",
123 "quantity": 1,
124 "refund": 0,
125 "skuID": 3638916762844,
126 "status": "waitbuyerreceive",
127 "subItemID": 58218860985545944,
128 "type": "common",
129 "unit": "双",
130 "guaranteesTerms": [],
131 "skuInfos": [{
132 "name": "颜色",
133 "value": "白色"
134 },
135 {
136 "name": "尺码",
137 "value": "38"
138 }],
139 "entryDiscount": 0,
140 "specId": "6ff6071792c8ab520b9b867c61b990bd",
141 "quantityFactor": 1,
142 "statusStr": "等待买家收货",
143 "refundStatus": "WAIT_SELLER_AGREE",
144 "logisticsStatus": 2
145 },
146 {
147 "itemAmount": 0.05,
148 "name": "这个一个很好看好看的鞋子用于服务测试(大家不要动)",
149 "price": 0.1,
150 "productID": 558700975520,
151 "productImgUrl": [],
152 "productSnapshotUrl": "https: //trade.1688.com/order/offer_snapshot.htm?order_entry_id=58218860986545941",
153 "quantity": 1,
154 "refund": 0,
155 "skuID": 3638916762843,
156 "status": "waitbuyerreceive",
157 "subItemID": 58218860986545944,
158 "type": "common",
159 "unit": "双",
160 "guaranteesTerms": [],
161 "skuInfos": [{
162 "name": "颜色",
163 "value": "白色"
164 },
165 {
166 "name": "尺码",
167 "value": "34"
168 }],
169 "entryDiscount": 0,
170 "specId": "8ecd5cb401df85d3f2485eb120f670df",
171 "quantityFactor": 1,
172 "statusStr": "等待买家收货",
173 "refundStatus": "WAIT_SELLER_AGREE",
174 "logisticsStatus": 2
175 }],
176 "tradeTerms": [{
177 "payStatus": "2",
178 "payTime": "20170913231727000-0700",
179 "payWay": "1",
180 "phasAmount": 6.15,
181 "phase": 655062941545941
182 }],
183 "extAttributes": [],
184 "orderRateInfo": {
185 "buyerRateStatus": 5,
186 "sellerRateStatus": 5
187 }
188 }
189}
推荐
-
-
QQ空间
-
新浪微博
-
人人网
-
豆瓣