确认订单
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>确认订单</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{url}}/app/shop/confirm-order</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </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>
</tbody>
</table>
<pre><code>type:1//1 立即购买2购物车3再来一单
supplier_id:9053
id:24329 //type=1时,id取商品id;type=2,购物车明细id;type=3,销售预订单id,多个id时,id组成的字符串,用,隔开
count:10
</code></pre>
<h5>返回示例</h5>
<pre><code> {
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: [
{
&quot;parts_id&quot;: &quot;12734&quot;,
&quot;id&quot;: &quot;0&quot;,
&quot;parts_name&quot;: &quot;机油滤清器&quot;,
&quot;parts_code&quot;: &quot;OX1107D&quot;,
&quot;brand_id&quot;: &quot;193&quot;,
&quot;brand_name&quot;: &quot;马勒&quot;,
&quot;category_id&quot;: &quot;209&quot;,
&quot;category_name&quot;: &quot;机油滤清器&quot;,
&quot;packing_instruction&quot;: &quot;1*30&quot;,
&quot;count&quot;: 1,
&quot;parts_category_id&quot;: &quot;209&quot;,
&quot;available_stock&quot;: 6663,
&quot;jz_content&quot;: &quot;0&quot;,
&quot;mz_content&quot;: &quot;0&quot;,
&quot;jz_allcontent&quot;: &quot;0&quot;,
&quot;mz_allcontent&quot;: &quot;0&quot;,
&quot;price&quot;: &quot;10.00&quot;,
&quot;org_count&quot;: 10,
&quot;show_name&quot;: &quot;马勒 机油滤清器 OX1107D&quot;,
&quot;hsmz_allcontent&quot;: 0,
&quot;imgs&quot;: &quot;http://img.db.66km.cn/part/OX1107D ECO_2.jpg&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>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>