5.4 同步订单信息
<h3>5.4 同步订单信息</h3>
<p>> - Url路径:api/order/update</p>
<h4>5.4.1 接口请求模型</h4>
<table>
<thead>
<tr>
<th>参数代码 </th>
<th>参数类型参数类型</th>
<th>参数长度</th>
<th>代码标识说明</th>
<th>是否非空</th>
<th>说明 </th>
</tr>
</thead>
<tbody>
<tr>
<td>onlineOrderId </td>
<td>string </td>
<td>100 </td>
<td> </td>
<td>Y </td>
<td>平台订单号 </td>
</tr>
<tr>
<td>status </td>
<td>int </td>
<td>1 </td>
<td>Y </td>
<td>Y </td>
<td>订单状态(默认0:无,1:订单完成,2:发起售后)</td>
</tr>
<tr>
<td>shippingNo </td>
<td>string </td>
<td>100 </td>
<td> </td>
<td> </td>
<td>配送/物流号 </td>
</tr>
<tr>
<td>shippingCompany</td>
<td>string </td>
<td>50 </td>
<td> </td>
<td> </td>
<td>配送/物流公司 </td>
</tr>
</tbody>
</table>
<h4>5.4.2 接口返回模型</h4>
<table>
<thead>
<tr>
<th>参数代码 </th>
<th>参数类型参数类型</th>
<th>参数长度</th>
<th>代码标识说明</th>
<th>是否非空</th>
<th>说明 </th>
</tr>
</thead>
<tbody>
<tr>
<td>orderNo </td>
<td>string </td>
<td>20 </td>
<td> </td>
<td>Y </td>
<td>九医云订单编号 </td>
</tr>
<tr>
<td>onlineOrderId </td>
<td>string </td>
<td>100 </td>
<td> </td>
<td>Y </td>
<td>平台订单号 </td>
</tr>
<tr>
<td>status </td>
<td>int </td>
<td>1 </td>
<td>Y </td>
<td>Y </td>
<td>订单状态(默认0:无,1:订单完成,2:发起售后)</td>
</tr>
<tr>
<td>shippingNo </td>
<td>string </td>
<td>100 </td>
<td> </td>
<td> </td>
<td>配送/物流号 </td>
</tr>
<tr>
<td>shippingCompany</td>
<td>string </td>
<td>50 </td>
<td> </td>
<td> </td>
<td>配送/物流公司 </td>
</tr>
</tbody>
</table>
<p>Demo:</p>
<pre><code>Request:
{
&quot;appKey&quot;:&quot;NepHealth&quot;,
&quot;nonce&quot;:&quot;Tdsad2saa2a&quot;,
&quot;timestamp&quot;:1639119614,
&quot;sign&quot;:&quot;a1f8f760de8edfe74b3b7bb9d9c51e4379abfbdb1&quot;,
&quot;input&quot;:{
&quot;onlineOrderId&quot;:&quot;20211208113654455562554&quot;,
&quot;status&quot;:2
}
}
Response:
{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;ok&quot;,
&quot;nonce&quot;: &quot;Tdsad2saa2a&quot;,
&quot;output&quot;: {
&quot;orderNo&quot;: &quot;02000002057465608&quot;,
&quot;onlineOrderId&quot;: &quot;20211208113654455562554&quot;,
&quot;status&quot;: 2
}
}</code></pre>