下单
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>下单
"reqdata_type": "json",
"format": "json",
"func": "PREORDER",
<h5>请求URL</h5>
<p>正式版:<a href="https://ydw.ec-return.com/api/user/capi/index">https://ydw.ec-return.com/api/user/capi/index</a>
沙盒版:<a href="http://sandbox-ydw.ec-return.com/api/user/capi/index">http://sandbox-ydw.ec-return.com/api/user/capi/index</a></p></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>
<tr>
<td style="text-align: left;">user_login</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>your user name</td>
</tr>
<tr>
<td style="text-align: left;">access_code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>your access code</td>
</tr>
<tr>
<td style="text-align: left;">ids</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>2093091 来自询价列表的id QUERYPRICE ['data']['success'][i]['id']</td>
</tr>
<tr>
<td style="text-align: left;">pickupSelect</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>0:不预约取货</td>
</tr>
</tbody>
</table>
<h5>请求示例</h5>
<pre><code>{
&quot;reqdata_type&quot;: &quot;json&quot;,
&quot;format&quot;: &quot;json&quot;,
&quot;func&quot;: &quot;PREORDER&quot;,
&quot;user_login&quot;: &quot;your user name&quot;,
&quot;access_code&quot;: &quot;your access code&quot;,
&quot;ids&quot;: &quot;2093091 来自询价列表的id QUERYPRICE [&#039;data&#039;][&#039;success&#039;][i][&#039;id&#039;]&quot;,
&quot;pickupSelect&quot;: &quot;0:不预约取货&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code>{
&quot;code&quot;: &quot;成功: 0,失败: 1&quot;,
&quot;server_type_str&quot;: &quot;沙盒,正式&quot;,
&quot;msg&quot;: &quot;成功:Success,失败:Error&quot;,
&quot;data&quot;: {
&quot;order_id&quot;: &quot;临时订单号&quot;,
&quot;order_count&quot;: &quot;订单个数&quot;,
&quot;is_credit&quot;: &quot;是否可信用卡支付 0:不可,1:可&quot;,
&quot;charge_info:余额支付费用信息&quot;: {
&quot;balancePay&quot;: {
&quot;service_charge&quot;: &quot;手续费率:0%&quot;,
&quot;total_charge&quot;: &quot;总金额&quot;
},
&quot;credit:信用卡支付费用信息&quot;: {
&quot;service_charge&quot;: &quot;手续费率:1.99%&quot;,
&quot;total_charge&quot;: &quot;总金额&quot;
}
}
}
}</code></pre>