5、订单信息查询
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>订单信息查询</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/order/orderdetails</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
<li>URL拼接</li>
<li>需要传递 Bearer Token</li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">waybillNumber</td>
<td style="text-align: left;">可选</td>
<td style="text-align: left;">string</td>
<td>运单号(顺丰、京东等官方单号) (waybillNumber和originId二选一)</td>
</tr>
<tr>
<td style="text-align: left;">originId</td>
<td style="text-align: left;">可选</td>
<td style="text-align: left;">string</td>
<td>第三方单号 (waybillNumber和originId二选一)</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code> /api/order/orderdetails?waybillNumber=TDH2024041782867009</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">result</td>
<td style="text-align: left;">object</td>
<td>响应数据</td>
</tr>
<tr>
<td style="text-align: left;">- result.orderNumber</td>
<td style="text-align: left;">string</td>
<td>订单号</td>
</tr>
<tr>
<td style="text-align: left;">- result.waybillNumber</td>
<td style="text-align: left;">string</td>
<td>运单号</td>
</tr>
<tr>
<td style="text-align: left;">- result.logisticsType</td>
<td style="text-align: left;">string</td>
<td>物流类型</td>
</tr>
<tr>
<td style="text-align: left;">- result.logisticsState</td>
<td style="text-align: left;">string</td>
<td>订单状态</td>
</tr>
<tr>
<td style="text-align: left;">- result.logisticsStateDesc</td>
<td style="text-align: left;">string</td>
<td>状态描述</td>
</tr>
<tr>
<td style="text-align: left;">- result.createTime</td>
<td style="text-align: left;">string</td>
<td>下单时间</td>
</tr>
<tr>
<td style="text-align: left;">- result.notes</td>
<td style="text-align: left;">string</td>
<td>订单备注</td>
</tr>
<tr>
<td style="text-align: left;">- result.orderReceiverInfo</td>
<td style="text-align: left;">object</td>
<td>收件人信息</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderReceiverInfo.receiverProvince</td>
<td style="text-align: left;">string</td>
<td>省</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderReceiverInfo.receiverCity</td>
<td style="text-align: left;">string</td>
<td>市</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderReceiverInfo.receiverArea</td>
<td style="text-align: left;">string</td>
<td>区</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderReceiverInfo.receiverAdress</td>
<td style="text-align: left;">string</td>
<td>详细地址</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderReceiverInfo.receiverPhone</td>
<td style="text-align: left;">string</td>
<td>电话</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderReceiverInfo.receiverName</td>
<td style="text-align: left;">string</td>
<td>姓名</td>
</tr>
<tr>
<td style="text-align: left;">- result.orderSenderInfo</td>
<td style="text-align: left;">object</td>
<td>收件人信息</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderSenderInfo.senderProvince</td>
<td style="text-align: left;">string</td>
<td>省</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderSenderInfo.senderCity</td>
<td style="text-align: left;">string</td>
<td>市</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderSenderInfo.senderArea</td>
<td style="text-align: left;">string</td>
<td>区</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderSenderInfo.senderAdress</td>
<td style="text-align: left;">string</td>
<td>详细地址</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderSenderInfo.senderPhone</td>
<td style="text-align: left;">string</td>
<td>电话</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderSenderInfo.senderName</td>
<td style="text-align: left;">string</td>
<td>姓名</td>
</tr>
<tr>
<td style="text-align: left;">- result.feeInfoList</td>
<td style="text-align: left;">Array<object></td>
<td>运费清单</td>
</tr>
<tr>
<td style="text-align: left;">- - result.feeInfoList.des</td>
<td style="text-align: left;">string</td>
<td>费用描述</td>
</tr>
<tr>
<td style="text-align: left;">- - result.feeInfoList.fee</td>
<td style="text-align: left;">decimal</td>
<td>费用(元)</td>
</tr>
<tr>
<td style="text-align: left;">- - result.feeInfoList.discount</td>
<td style="text-align: left;">decimal</td>
<td>折扣金额(元)</td>
</tr>
<tr>
<td style="text-align: left;">- result.details</td>
<td style="text-align: left;">object</td>
<td>扩展信息</td>
</tr>
<tr>
<td style="text-align: left;">- - result.details.expressState</td>
<td style="text-align: left;">string</td>
<td>官方物流状态(京东:100(已接单);390(已下发);420(已揽收);430(运输中);440(派送中);480(已拦截);500(异常终止);510(妥投);511(拦截退回妥投);512(拦截转寄妥投);530(拒收);690(已取消))</td>
</tr>
<tr>
<td style="text-align: left;">- - result.details.expressStateDesc</td>
<td style="text-align: left;">string</td>
<td>官方物流状态(京东:100(已接单);390(已下发);420(已揽收);430(运输中);440(派送中);480(已拦截);500(异常终止);510(妥投);511(拦截退回妥投);512(拦截转寄妥投);530(拒收);690(已取消))</td>
</tr>
</tbody>
</table>
<p>|isSuccess |boolean |是否成功 |
|operationDesc |string |描述 |
|resultCode |Number |请求状态 0正常 ,其他异常 |</p>
<h5>返回示例</h5>
<pre><code>{
&quot;result&quot;: {
&quot;orderNumber&quot;: &quot;29bfef87-a628-473b-8c70-22bef60f98b7&quot;,
&quot;waybillNumber&quot;: &quot;TDH2024041900476435&quot;,
&quot;logisticsType&quot;: 10001,
&quot;logisticsState&quot;: 99,
&quot;logisticsStateDesc&quot;: &quot;已取消&quot;,
&quot;createTime&quot;: &quot;2024-04-19T11:05:18&quot;,
&quot;notes&quot;: &quot;单&quot;,
&quot;orderReceiverInfo&quot;: {
&quot;receiverProvince&quot;: &quot;四川省&quot;,
&quot;receiverCity&quot;: &quot;成都&quot;,
&quot;receiverArea&quot;: &quot;青羊区&quot;,
&quot;receiverAdress&quot;: &quot;青羊区成都赛格广场(太升南路******&quot;,
&quot;receiverPhone&quot;: &quot;138****7479&quot;,
&quot;receiverName&quot;: &quot;志**&quot;
},
&quot;orderSenderInfo&quot;: {
&quot;senderProvince&quot;: &quot;四川省&quot;,
&quot;senderCity&quot;: &quot;成都&quot;,
&quot;senderCityCode&quot;: 0,
&quot;senderArea&quot;: &quot;青羊区&quot;,
&quot;senderAdress&quot;: &quot;青羊区红星路******&quot;,
&quot;senderPhone&quot;: &quot;182****9507&quot;,
&quot;senderName&quot;: &quot;朱**&quot;
},
&quot;feeInfoList&quot;: [
{
&quot;amountType&quot;: &quot;里程费&quot;,
&quot;amMoney&quot;: 12.00
},
{
&quot;amountType&quot;: &quot;服务费&quot;,
&quot;amMoney&quot;: 3.00,
},
{
&quot;amountType&quot;: &quot;追加小费&quot;,
&quot;amMoney&quot;: 2.00
}
],
&quot;details&quot;: {
&quot;lat&quot;: null,
&quot;lon&quot;: null,
&quot;orderingTime&quot;: &quot;2024-12-05T14:22:21&quot;,
&quot;subscribeTime&quot;: &quot;2024-12-06T14:00:00&quot;,
&quot;storeTime&quot;: null,
&quot;consigneeTime&quot;: null,
&quot;solicitationTime&quot;: null,
&quot;cancelTime&quot;: &quot;2024-12-05T14:42:54&quot;,
&quot;signTime&quot;: null,
&quot;subscribeDeliveryTime&quot;: null,
&quot;subscribeDeliveryTimeStr&quot;: null,
&quot;collectTime&quot;: null,
&quot;expressState&quot;: &quot;690&quot;,
&quot;expressStateDesc&quot;: &quot;已取消&quot;
}
},
&quot;isSuccess&quot;: true,
&quot;operationDesc&quot;: null,
&quot;resultCode&quot;: 0
}</code></pre>
<h5>备注</h5>
<ul>
<li>无</li>
</ul>