# stock.getAll 商品库存查询接口
# 详细描述
返回商品库存信息
# 应用级参数
| 参数名称 | 是否必要 | 类型 | 示例 | 描述 |
| goods_bn | 否 | string | 商品编码 | |
| brand_name | 否 | string | 品牌 | |
| type_name | 否 | string | 类型 | |
| page_no | 否 | number | 1 | 页码 |
| page_size | 否 | number | 100 | 每页数量 |
# 返回结果
注意: 已经做过特殊字符处理的字段如下: bn,name, branch_bn, branch_name
#####XML数据,例: 成功
<response>
<lists>
<bn>
<![CDATA[h002]]>
</bn>
<name>
<![CDATA[仙剑奇侠传6]]>
</name>
<store>150</store>
<store_freeze>6</store_freeze>
<spec_info>
<![CDATA[]]>
</spec_info>
<branchstore>
<branch_bn>
<![CDATA[csck001]]>
</branch_bn>
<branch_name>
<![CDATA[测试仓库111]]>
</branch_name>
<store>50</store>
<store_freeze>0</store_freeze>
<arrive_store>0</arrive_store>
<branch_bn>
<![CDATA[xck0101]]>
</branch_bn>
<branch_name>
<![CDATA[新仓库测试]]>
</branch_name>
<store>100</store>
<store_freeze>0</store_freeze>
<arrive_store>0</arrive_store>
</branchstore>
</lists>
<count>1</count>
</response>
#####json数据,例: 成功
{
"response": {
"lists": {
"1": {
"bn": "678",
"name": "nike运动鞋",
"store": "0",
"store_freeze": "0",
"spec_info": "42码",
"branchstore": [ ]
},
"2": {
"bn": "h002",
"name": "仙剑奇侠传6",
"store": "150",
"store_freeze": "6",
"spec_info": "",
"branchstore": {
"1": {
"branch_bn": "csck001",
"branch_name": "测试仓库111",
"store": "50",
"store_freeze": "0",
"arrive_store": "0"
},
"2": {
"branch_bn": "xck0101",
"branch_name": "新仓库测试",
"store": "100",
"store_freeze": "0",
"arrive_store": "0"
}
}
},
},
"count": 2
}
}