b2c.goods.get_types 获取类型信息

author: danny,danny@shopex.cn

2014-06-19

API应用级输入参数

参数 类型 是否必须 说明
page_no Number N 分页页码(默认:1)
page_size Number N 分页大小(默认:20)

API应用级返回结果

成功:

array (
  'rsp' => 'succ',
  'data' => 
  array (
    'datas' => 
    array (
      0 => 
      array (
        'type_id' => '1',
        'name' => '通用商品类型',
        'brands' => 
        array (
          0 => 
          array (
            'brand_id' => '1',
          ),
          1 => 
          array (
            'brand_id' => '2',
          ),
          2 => 
          array (
            'brand_id' => '3',
          ),
          3 => 
          array (
            'brand_id' => '4',
          ),
          4 => 
          array (
            'brand_id' => '5',
          ),
          5 => 
          array (
            'brand_id' => '6',
          ),
          6 => 
          array (
            'brand_id' => '7',
          ),
          7 => 
          array (
            'brand_id' => '8',
          ),
          8 => 
          array (
            'brand_id' => '9',
          ),
          9 => 
          array (
            'brand_id' => '10',
          ),
          10 => 
          array (
            'brand_id' => '11',
          ),
          11 => 
          array (
            'brand_id' => '12',
          ),
          12 => 
          array (
            'brand_id' => '13',
          ),
          13 => 
          array (
            'brand_id' => '14',
          ),
        ),
        'setting' => 
        array (
          'use_spec' => NULL,
          'use_brand' => 1,
          'use_props' => NULL,
          'use_params' => NULL,
        ),
        'props' => 
        array (
          'props_id' => 
          array (
          ),
          'name' => 
          array (
          ),
          'type' => 
          array (
          ),
          'props_value_id' => 
          array (
          ),
          'options' => 
          array (
          ),
        ),
        'spec' => 
        array (
          'id' => 
          array (
          ),
          'type' => 
          array (
          ),
          'value_id' => 
          array (
          ),
          'value_name' => 
          array (
          ),
        ),
        'params' => 
        array (
          'group' => 
          array (
            0 => 0,
          ),
          'name' => 
          array (
            0 => 0,
          ),
        ),
        'minfo' => 
        array (
          'label' => 
          array (
            0 => NULL,
          ),
          'type' => 
          array (
            0 => NULL,
          ),
          'options' => 
          array (
          ),
        ),
      ),
    ),
    'totalResults' => 1,
  ),
  'res' => '',
)


內容目录

上一个主题

b2c.goods.get_specs 获取规格信息

下一个主题

b2c.goods.getAllProductsStore 获取所有货品的货号和库存

快速搜索

输入相关的模块,术语,类或者函数名称进行搜索