仓库列表
<h4><strong>请求路径 URL:</strong></h4>
<ul>
<li><code>/openApi/storageList</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>
<h4><strong>参数:</strong></h4>
<p>> 说明:form-data 格式。</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>是否必选</th>
<th>类型</th>
<th>描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>shopId</td>
<td>是</td>
<td>text 文本</td>
<td>dms门店 ID</td>
</tr>
</tbody>
</table>
<h4><strong>返回值示例:</strong></h4>
<pre><code>{
&quot;msg&quot;: &quot;success&quot;,
&quot;code&quot;: 0,
&quot;data&quot;: [
{
&quot;unionID&quot;: &quot;EEADACCD-8A19-499D-8AD7-6975D2C93243&quot;,
&quot;address&quot;: &quot;&quot;,
&quot;code&quot;: null,
&quot;operateID&quot;: &quot;4FCC6419-C9DD-488E-B0CF-402E1D7563AB&quot;,
&quot;storageName&quot;: &quot;测试&quot;,
&quot;telePhone&quot;: &quot;&quot;,
&quot;isDefault&quot;: false,
&quot;isDeleted&quot;: true,
&quot;createTime&quot;: &quot;2019-04-02 11:52:32&quot;,
&quot;sortID&quot;: 3,
&quot;comment&quot;: &quot;&quot;,
&quot;id&quot;: &quot;D162C04C-CC8E-401B-B730-0B65A01E0544&quot;,
&quot;shopID&quot;: &quot;1B43BADD-B670-4B27-B6C1-604523287EAF&quot;,
&quot;state&quot;: 1,
&quot;contacts&quot;: null
}
]
}</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>storageName</td>
<td>string</td>
<td>仓库名称</td>
</tr>
</tbody>
</table>