门店发货仓库接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>门店发货仓库接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/dms/purchase/receipt-warehouse</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;">is_sales</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>是否允许销售 1是 is_sales=1</td>
</tr>
<tr>
<td style="text-align: left;">buy_customer_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;id&quot;: &quot;308&quot;,//仓库ID
&quot;org_id&quot;: &quot;1&quot;,//仓库所属组织
&quot;name&quot;: &quot;仓库WS00308&quot;,//仓库名称
&quot;contact_name&quot;: &quot;联系人&quot;,//联系人
&quot;contact_mobile&quot;: &quot;17811110000&quot;,//联系电话
&quot;province&quot;: &quot;370000000&quot;,
&quot;city&quot;: &quot;370100000&quot;,
&quot;district&quot;: &quot;370102000&quot;,
&quot;town&quot;: null,
&quot;address&quot;: &quot;全全路123号&quot;,//地址
&quot;address_area&quot;: &quot;山东省济南市历下区全全路123号&quot;,
&quot;is_sale&quot;: &quot;1&quot;,
&quot;is_abnormal&quot;: &quot;2&quot;,
&quot;is_purchase&quot;: &quot;1&quot;
},
{
&quot;id&quot;: &quot;319&quot;,
&quot;org_id&quot;: &quot;1&quot;,
&quot;name&quot;: &quot;仓库WS00319&quot;,
&quot;contact_name&quot;: &quot;联系人&quot;,
&quot;contact_mobile&quot;: &quot;17811110000&quot;,
&quot;province&quot;: &quot;370000000&quot;,
&quot;city&quot;: &quot;370100000&quot;,
&quot;district&quot;: null,
&quot;town&quot;: null,
&quot;address&quot;: &quot;&quot;,
&quot;address_area&quot;: &quot;&quot;,
&quot;is_sale&quot;: &quot;1&quot;,
&quot;is_abnormal&quot;: &quot;2&quot;,
&quot;is_purchase&quot;: &quot;1&quot;
},
{
&quot;id&quot;: &quot;1352&quot;,
&quot;org_id&quot;: &quot;1&quot;,
&quot;name&quot;: &quot;W1111&quot;,
&quot;contact_name&quot;: &quot;11&quot;,
&quot;contact_mobile&quot;: &quot;18523235656&quot;,
&quot;province&quot;: &quot;110000000&quot;,
&quot;city&quot;: &quot;110100000&quot;,
&quot;district&quot;: &quot;110101000&quot;,
&quot;town&quot;: null,
&quot;address&quot;: &quot;东城&quot;,
&quot;address_area&quot;: &quot;北京市市辖区东城区东城&quot;,
&quot;is_sale&quot;: &quot;1&quot;,
&quot;is_abnormal&quot;: &quot;2&quot;,
&quot;is_purchase&quot;: &quot;1&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>