DMS库存信息
<h4><strong>请求路径 URL:</strong></h4>
<ul>
<li><code>/openApi/queryPartsQty</code></li>
</ul>
<h4><strong>请求方式:</strong></h4>
<ul>
<li><code>GET</code></li>
</ul>
<h4><strong>Header 信息:</strong></h4>
<table>
<thead>
<tr>
<th>header 头</th>
<th>值</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>appId</td>
<td>97A3AB74-7B39-4AAF-B3F8-808F484C0987</td>
<td>应用ID</td>
</tr>
<tr>
<td>timestamp</td>
<td>获取当前时间戳</td>
<td>时间戳</td>
</tr>
<tr>
<td>signature</td>
<td>生成请求签名</td>
<td>签名,生成规则见「签名生成规则」</td>
</tr>
</tbody>
</table>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/aefc6970c1ef0b07d0e9294fa536384d" alt="" /><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/9fd14838700e7e65f3061509aa0452f7" alt="" /></p>
<h4><strong>参数:</strong></h4>
<p>> 说明:form-data 格式。</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>是否必选</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>customerID</td>
<td>是</td>
<td>text 文本</td>
<td>erp客户ID</td>
</tr>
<tr>
<td>type</td>
<td>是</td>
<td>text 文本</td>
<td>是否分页 1-不分页 2-分页</td>
</tr>
<tr>
<td>pageIndex</td>
<td>否</td>
<td>text 文本</td>
<td>当前页面</td>
</tr>
<tr>
<td>pageSize</td>
<td>否</td>
<td>text 文本</td>
<td>每页大小</td>
</tr>
<tr>
<td>brandId</td>
<td>否</td>
<td>text 文本</td>
<td>品牌ID,多个使用逗号分隔</td>
</tr>
<tr>
<td>categoryId</td>
<td>否</td>
<td>text 文本</td>
<td>二级品类ID,多个使用逗号分隔</td>
</tr>
<tr>
<td>spec</td>
<td>否</td>
<td>text 文本</td>
<td>规格型号</td>
</tr>
<tr>
<td>factoryCode</td>
<td>否</td>
<td>text 文本</td>
<td>出厂编码</td>
</tr>
<tr>
<td>goodsName</td>
<td>否</td>
<td>text 文本</td>
<td>商品名称</td>
</tr>
<tr>
<td>qtyFlag</td>
<td>否</td>
<td>text 文本</td>
<td>不含0库存商品 1-是</td>
</tr>
</tbody>
</table>
<h4><strong>返回值示例:</strong></h4>
<pre><code>{
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [
{
&quot;secondCategory&quot;: &quot;空气滤清器&quot;,
&quot;firstCategory&quot;: &quot;发动机配气系统&quot;,
&quot;GoodsCode&quot;: &quot;201612061527&quot;,
&quot;Unit&quot;: &quot;副&quot;,
&quot;GoodsName&quot;: &quot;大洲三菱V31前刹车片D6081B&quot;,
&quot;BrandName&quot;: &quot;发业&quot;,
&quot;money&quot;: 5060.0000,
&quot;FactoryCode&quot;: &quot;&quot;,
&quot;qty&quot;: 46.00,
&quot;firstCategoryCode&quot;: &quot;021&quot;,
&quot;ID&quot;: &quot;5D11CB08-50E3-4C11-8CC8-666EF1D3A310&quot;,
&quot;SalePrice&quot;: 110.00,
&quot;Spec&quot;: &quot;&quot;,
&quot;Location&quot;: &quot;&quot;
}
]
}</code></pre>
<h4>返回值参数说明:</h4>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>msg</td>
<td>string</td>
<td>描述</td>
</tr>
<tr>
<td>code</td>
<td>int</td>
<td>状态码, 0 为成功 1 为失败</td>
</tr>
<tr>
<td>ID</td>
<td>string</td>
<td>商品ID</td>
</tr>
<tr>
<td>GoodsName</td>
<td>string</td>
<td>商品名称</td>
</tr>
<tr>
<td>FactoryCode</td>
<td>string</td>
<td>出厂编码</td>
</tr>
<tr>
<td>Spec</td>
<td>string</td>
<td>规格型号</td>
</tr>
<tr>
<td>FirstCategory</td>
<td>string</td>
<td>一级品类名称</td>
</tr>
<tr>
<td>SecondCategory</td>
<td>string</td>
<td>二级品类名称</td>
</tr>
<tr>
<td>BrandName</td>
<td>string</td>
<td>品牌名称</td>
</tr>
<tr>
<td>Unit</td>
<td>string</td>
<td>单位</td>
</tr>
<tr>
<td>Qty</td>
<td>string</td>
<td>库存</td>
</tr>
<tr>
<td>SalePrice</td>
<td>string</td>
<td>单价</td>
</tr>
<tr>
<td>Money</td>
<td>string</td>
<td>库存金额</td>
</tr>
<tr>
<td>Location</td>
<td>string</td>
<td>库位</td>
</tr>
<tr>
<td>ShopName</td>
<td>string</td>
<td>店铺名称</td>
</tr>
<tr>
<td>ErpID</td>
<td>string</td>
<td>Erp商品 ID</td>
</tr>
<tr>
<td>InventoryLimit</td>
<td>string</td>
<td>库存下限</td>
</tr>
<tr>
<td>InventoryCeiling</td>
<td>string</td>
<td>库存上限</td>
</tr>
<tr>
<td>backlogDay</td>
<td>string</td>
<td>积压天数</td>
</tr>
</tbody>
</table>