代步车业务接口

想用车和中升GO对接接口文档


获取订单详情

<h4>说明</h4> <p>用于通过订单id查看订单详情, 此接口用于用户查看订单列表时, 查阅历史订单信息详情信息时使用.</p> <h4>接口名称(Endpoint)</h4> <p><code>/bos/scooter/goapi/order/detail</code></p> <h4>公共参数</h4> <ul> <li>openid</li> </ul> <h4>请求参数说明</h4> <table> <thead> <tr> <th style="text-align: left;">参数名&lt;div style=&quot;width: 100pt&quot;&gt;</th> <th style="text-align: left;">必填</th> <th style="text-align: left;">类型</th> <th>字段描述&lt;div style=&quot;width: 200pt&quot;&gt;</th> <th>备注&lt;div style=&quot;width: 180pt&quot;&gt;</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>订单id</td> <td></td> </tr> </tbody> </table> <h4>请求参数示例</h4> <pre><code>{ &amp;quot;id&amp;quot;: &amp;quot;1853892345734190&amp;quot;, // 订单id }</code></pre> <h4>成功-响应说明</h4> <p>同 <code>《获取用户当前订单》</code> 接口返回信息, 为保持一致性, 此处不另行维护.</p> <h4>失败-响应说明</h4> <table> <thead> <tr> <th style="text-align: left;">code</th> <th>message</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">20</td> <td>用户openid与所操作的订单不匹配</td> </tr> <tr> <td style="text-align: left;">30</td> <td>订单id无效</td> </tr> </tbody> </table>

页面列表

ITEM_HTML