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>运单号(顺丰、京东等官方单号)</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.orderAmountList</td>
<td style="text-align: left;">Array<object></td>
<td>运费清单</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderAmountList.amountType</td>
<td style="text-align: left;">string</td>
<td>类型</td>
</tr>
<tr>
<td style="text-align: left;">- - result.orderAmountList.amMoney</td>
<td style="text-align: left;">string</td>
<td>费用</td>
</tr>
<tr>
<td style="text-align: left;">isSuccess</td>
<td style="text-align: left;">boolean</td>
<td>是否成功</td>
</tr>
<tr>
<td style="text-align: left;">operationDesc</td>
<td style="text-align: left;">string</td>
<td>描述</td>
</tr>
<tr>
<td style="text-align: left;">resultCode</td>
<td style="text-align: left;">Number</td>
<td>请求状态 0正常 ,其他异常</td>
</tr>
</tbody>
</table>
<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;orderAmountList&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;isSuccess&quot;: true,
&quot;operationDesc&quot;: null,
&quot;resultCode&quot;: 0
}</code></pre>
<h5>备注</h5>
<ul>
<li>无</li>
</ul>