【46】取订单物流信息
<p>[TOC]</p>
<h5>接口状态</h5>
<ul>
<li><code>正常</code></li>
</ul>
<h5>框架版本</h5>
<ul>
<li><code>≥ 2.0.5.0</code></li>
</ul>
<h5>更新时间</h5>
<ul>
<li><code>2024/11/23</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>通过订单号取订单物流信息</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Api_GetOrderLogistics(&quot;$userNick$&quot;,&quot;2263259319826089978&quot;)</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Api.取订单物流信息(&quot;$userNick$&quot;,&quot;2263259319826089978&quot;)</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Api</code></pre>
<pre><code>&amp;post=GetOrderLogistics&amp;data={&quot;userNick&quot;:&quot;$userNick$&quot;,&quot;orderId&quot;:&quot;2263259319826089978&quot;}</code></pre>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<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;">userNick</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">千牛账号,为方便测试$userNick$表示取随机队列账号</td>
<td>tb123456</td>
</tr>
<tr>
<td style="text-align: left;">orderId</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">订单号</td>
<td>2263259319826089978</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{&quot;code&quot;:200,&quot;data&quot;:{&quot;logisticsInfoList&quot;:[{&quot;logisticsDetailList&quot;:[{&quot;desc&quot;:&quot;商品已经下单&quot;,&quot;time&quot;:&quot;2024-08-20 02:30:20&quot;,&quot;title&quot;:&quot;已下单&quot;}],&quot;goodsList&quot;:[],&quot;reissue&quot;:false}],&quot;orderDetailList&quot;:[{&quot;itemDetailInfoList&quot;:[{&quot;skuInfos&quot;:[&quot;1用户&quot;,&quot;权限4一年&quot;],&quot;itemId&quot;:670928123667,&quot;actualPayAmount&quot;:&quot;5.00&quot;,&quot;buyAmount&quot;:1,&quot;bizOrderId&quot;:&quot;2263259319826089978&quot;,&quot;itemTitle&quot;:&quot;赛牛工作台测试专用链接,勿拍不发货&quot;,&quot;picUrl&quot;:&quot;\/\/img.alicdn.com\/imgextra\/i1\/796978238\/O1CN01NU1iSI2Aj3XEff96R_!!796978238.jpg&quot;,&quot;subOrderId&quot;:&quot;2263259319826089978&quot;}],&quot;price&quot;:5,&quot;mainBizOrderId&quot;:&quot;2263259319826089978&quot;}],&quot;receiver&quot;:{&quot;address&quot;:&quot;xx**路x**村**菜鸟驿站。&quot;,&quot;addressKeyWordFlag&quot;:false,&quot;area&quot;:&quot;xx区&quot;,&quot;multiAddressFlag&quot;:false,&quot;encryption&quot;:true,&quot;detailAddress&quot;:&quot;xx省^^^xx市^^^xx区^^^xxxx^^^xxx**xx**xxx**菜鸟驿站。&quot;,&quot;city&quot;:&quot;xx市&quot;,&quot;mobileSource&quot;:false,&quot;modifyAddress&quot;:false,&quot;name&quot;:&quot;李**&quot;,&quot;noSplitCharDetailAddress&quot;:&quot;xx省xx市xx区xx街道xx**路x**x**菜鸟驿站&quot;,&quot;phone&quot;:&quot;*******xxxx&quot;,&quot;prefixAddress&quot;:&quot;xx省^^^xx市^^^xx区^^^xx街道^^^&quot;,&quot;prov&quot;:&quot;xx省&quot;,&quot;town&quot;:&quot;xx街道&quot;,&quot;valid&quot;:true}},&quot;ret&quot;:[&quot;SUCCESS::调用成功&quot;]}</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;">code</td>
<td style="text-align: left;">整数型</td>
<td>返回结果,成功=200,失败≠200</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">文本型</td>
<td>调用结果</td>
</tr>
<tr>
<td style="text-align: left;">reg</td>
<td style="text-align: left;">文本型</td>
<td>结果说明,调用成功或失败原因</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>