销售订单退货请求接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>销售订单退货请求接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/sales-quotation-order/sales-order-return-apply</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET </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;">id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>销售订单ID</td>
</tr>
<tr>
<td style="text-align: left;">app_mark</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>app_mark=1,APP请求标识</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;errCode&quot;: 1000,
&quot;errMsg&quot;: &quot;请求成功&quot;,
&quot;data&quot;: {
&quot;buy_customer_id&quot;:&quot;客户ID&quot;,
&quot;sales_order_id&quot;:&quot;销售订单ID&quot;,
&quot;partsList&quot;: [
{
&quot;stock_order_parts_id&quot;: &quot;4841&quot;,//出库单明细id
&quot;stock_order_id&quot;: &quot;2431&quot;,//出库单id
&quot;stock_order_sn&quot;: &quot;WO24110100002431&quot;,//出库单号
&quot;sales_order_sn&quot;: &quot;SO24110100001639&quot;,//销售单号
&quot;sales_order_parts_id&quot;: &quot;3361&quot;,//销售单明细id
&quot;parts_id&quot;: &quot;863118&quot;,//商品id
&quot;parts_name&quot;: &quot;轮胎&quot;,//商品名称
&quot;parts_brand_id&quot;: &quot;304&quot;,
&quot;parts_category_id&quot;: &quot;183&quot;,
&quot;parts_code&quot;: &quot;295/40R21 111V XL TL PILOT SPORT EV POL&quot;,//商品编码
&quot;parts_factory_code&quot;: &quot;381608&quot;,//出厂编码
&quot;parts_specifications&quot;: &quot;&quot;,
&quot;parts_unit_id&quot;: &quot;15&quot;,
&quot;parts_unit_name&quot;: &quot;条&quot;,//商品单位
&quot;parts_category_name&quot;: &quot;轮胎&quot;,//品类
&quot;parts_brand_name&quot;: &quot;米其林&quot;,//品牌
&quot;price&quot;: &quot;14.0000&quot;,
&quot;discount_rate&quot;: 100,
&quot;warehouse_id&quot;: &quot;308&quot;,
&quot;parts_final_count&quot;: 3,
&quot;manual_batch&quot;: &quot;&quot;,
&quot;final_sales_price&quot;: &quot;14.00&quot;,
&quot;last_sales_price&quot;: &quot;14.00&quot;,
&quot;parts_promotion_id&quot;: 0,//促销活动id
&quot;is_gift&quot;: 2,//赠品标识
&quot;return_price&quot;: 14,//退货单价
&quot;last_pull_count&quot;: 3,
&quot;yet_return_count&quot;: 0,
&quot;max_return_count&quot;: 3,//可退数量
&quot;tax_rate&quot;: &quot;13.00&quot;,
&quot;return_price_no&quot;: &quot;12.3893&quot;,
&quot;return_count&quot;: 3,//退货数量
&quot;return_price_sum&quot;: &quot;42.00&quot;,
&quot;return_price_sum_no&quot;: &quot;37.1679&quot;,
&quot;showName&quot;: &quot;米其林 轮胎 295/40R21 111V XL TL PILOT SPORT EV POL&quot;,
&quot;parts_batch_set&quot;: 0,
&quot;partsBatchList&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;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>