goods.getList 批量获取商品信息

详细描述

批量获取商品信息

应用级参数

参数名称 是否必要 类型 描述
brand_name string 商品品牌名称
type_name string 商品类型名称
goods_bn string 商品编码
start_lastmodify string 修改开始时间,格式:2014-05-26 16:18:01
end_lastmodify string 修改结束时间,格式:2014-05-26 16:18:02
page_no number 页码
page_size string 每页条数(最大100条)

返回结果

注意: 已经做过特殊字符处理的字段如下: goods_bn, goods_name, goods_type, goods_brand, unit, product_bn, spec_info, barcode

XML数据,例:

成功

<response>
  <list>
    <goods_bn><![CDATA[wo001]]></goods_bn>
    <goods_name><![CDATA[仙剑玩偶]]></goods_name>
    <goods_type><![CDATA[电脑单机游戏]]></goods_type>
    <goods_brand><![CDATA[仙剑奇侠传6]]></goods_brand>
    <unit><![CDATA[个]]></unit>
    <lastmodify><![CDATA[2015-08-25 08:35:45]]></lastmodify>
    <products>
      <product_bn><![CDATA[h003]]></product_bn>
      <spec_info><![CDATA[]]></spec_info>
      <store>0</store>
      <store_freeze>0</store_freeze>
      <weight>2.000</weight>
      <cost>10.000</cost>
      <price>5.000</price>
      <mktprice>0.000</mktprice>
      <barcode><![CDATA[h003]]></barcode>
    </products>
  </list>
  <count>1</count>
</response>
json数据,例:

成功

{
    "response": {
        "list": [
            {
                "goods_bn": "wo001", 
                "goods_name": "仙剑玩偶", 
                "goods_type": "电脑单机游戏", 
                "goods_brand": "仙剑奇侠传6", 
                "unit": "个", 
                "lastmodify": "2015-08-25 08:35:45", 
                "products": [
                    {
                        "product_bn": "h003", 
                        "spec_info": "", 
                        "store": "0", 
                        "store_freeze": "0", 
                        "weight": "2.000", 
                        "cost": "10.000", 
                        "price": "5.000", 
                        "mktprice": "0.000", 
                        "barcode": "h003"
                    }
                ]
            }
        ], 
        "count": 1
    }
}

沪ICP备05002918号

© 2003-2017 ShopEx,Inc.All rights reserved.