goods_query{
"operation": {
"method": "splitArray",
"arrayKey": "spec_list"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | deleted | deleted | string | 0 | 可选 | 默认为0, 0:只返回未删除货品 1:返回未删除和已删除货品 |
| 2 | barcode | barcode | string | 1 | 可选 | 111 |
| 3 | start_time | start_time | string | 1 | 可选 | 按最后修改时间增量查询数据,start_time作为开始时间,格式:yyyy-MM-dd HH:mm:ss |
| 4 | end_time | end_time | string | 1 | 必填 | 111 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | goods_id | goods_id | string | 1 | 可选 | 货品表主键 |
| 2 | goods_no | goods_no | string | 1 | 可选 | 代表SPU所有属性的唯一编号,用于系统货品的区分,SPU概念介绍,单击这里 |
| 3 | goods_name | goods_name | string | 1 | 可选 | 货品名称 |
| 4 | short_name | short_name | string | 1 | 可选 | 简称 |
| 5 | alias | alias | string | 1 | 可选 | 货品别名 |
| 6 | goods_type | goods_type | string | 1 | 可选 | 货品类别 0:其它, 1:销售货品, 2:原材料, 3:包装物, 4:周转材料, 5:虚拟商品, 6:固定资产,7:保修配件 |
| 7 | spec_count | spec_count | string | 1 | 可选 | 规格数 |
| 8 | pinyin | pinyin | string | 1 | 可选 | 拼音 |
| 9 | brand_no | brand_no | string | 1 | 可选 | 品牌编号 |
| 10 | brand_name | brand_name | string | 1 | 可选 | 品牌名称 |
| 11 | remark | remark | string | 1 | 可选 | 备注 |
| 12 | prop1 | prop1 | string | 1 | 可选 | 自定义属性1 |
| 13 | prop2 | prop2 | string | 1 | 可选 | 自定义属性2 |
| 14 | prop3 | prop3 | string | 1 | 可选 | 自定义属性3 |
| 15 | prop4 | prop4 | string | 1 | 可选 | 自定义属性4 |
| 16 | prop5 | prop5 | string | 1 | 可选 | 自定义属性5 |
| 17 | prop6 | prop6 | string | 1 | 可选 | 自定义属性6 |
| 18 | origin | origin | string | 1 | 可选 | 产地 |
| 19 | class_id | class_id | string | 1 | 可选 | 分类id |
| 20 | class_name | class_name | string | 1 | 可选 | 分类名称 |
| 21 | brand_id | brand_id | string | 1 | 可选 | 品牌ID |
| 22 | unit | unit | string | 1 | 可选 | 基本单位 |
| 23 | aux_unit | aux_unit | string | 1 | 可选 | 辅助单位 |
| 24 | flag_id | flag_id | string | 1 | 可选 | 标记 |
| 25 | properties | properties | string | 1 | 可选 | 属性 |
| 26 | version_id | version_id | string | 1 | 可选 | 版本号,用来检查同时修改的 |
| 27 | modified | modified | string | 1 | 可选 | 最后修改时间 格式:yyyy-MM-dd HH:mm:ss |
| 28 | created | created | string | 1 | 可选 | 创建时间 格式:yyyy-MM-dd HH:mm:ss |
| 29 | unit_name | unit_name | string | 1 | 可选 | 基本单位名称 |
| 30 | aux_unit_name | aux_unit_name | string | 1 | 可选 | 辅助单位名称 |
| 31 | flag_name | flag_name | string | 1 | 可选 | 标记名称 |
| 32 | goods_created | goods_created | string | 1 | 可选 | 格式:yyyy-MM-dd HH:mm:ss。ERP客户端需升级至V2.3.8.6及以上版本可获取此字段 |
| 33 | goods_modified | goods_modified | string | 1 | 可选 | 格式:yyyy-MM-dd HH:mm:ss |
| 34 | deleted | deleted | string | 1 | 可选 | 是否已删除: 0:未删除 >0代表已删除 |
| 35 | spec_list | spec_list | array | 1 | 可选 | 响应参数的2级数据节点,包含sku所有属性信息的数据节点,节点下数据字段详见下述"spec_list" |
| 36 | spec_id | spec_id | string | 1 | 可选 | 规格ID |
| 37 | spec_no | spec_no | string | 1 | 可选 | 代表单品(SKU)所有属性的唯一编号,用于系统单品的区分,SKU概念介绍,单击这里 |
| 38 | spec_code | spec_code | string | 1 | 可选 | 规格码 |
| 39 | barcode | barcode | string | 1 | 可选 | 主条码,单品下如果有多个条码,会随机返回其中一条条码 |
| 40 | spec_name | spec_name | string | 1 | 可选 | 规格名称 |
| 41 | lowest_price | lowest_price | string | 1 | 可选 | 最低价 |
| 42 | retail_price | retail_price | string | 1 | 可选 | 零售价 |
| 43 | wholesale_price | wholesale_price | string | 1 | 可选 | 批发价 |
| 44 | member_price | member_price | string | 1 | 可选 | 会员价 |
| 45 | market_price | market_price | string | 1 | 可选 | 市场价 |
| 46 | custom_price1 | custom_price1 | string | 1 | 可选 | 自定义价格1 |
| 47 | custom_price2 | custom_price2 | string | 1 | 可选 | 自定义价格2 |
| 48 | sale_score | sale_score | string | 1 | 可选 | 销售积分 |
| 49 | pack_score | pack_score | string | 1 | 可选 | 打包积分 |
| 50 | pick_score | pick_score | string | 1 | 可选 | 拣货积分 |
| 51 | validity_days | validity_days | string | 1 | 可选 | 保质期 |
| 52 | sales_days | sales_days | string | 1 | 可选 | 最佳销售天数 |
| 53 | receive_days | receive_days | string | 1 | 可选 | 最佳收获天数 |
| 54 | weight | weight | string | 1 | 可选 | 重量 |
| 55 | length | length | string | 1 | 可选 | 长(CM) |
| 56 | width | width | string | 1 | 可选 | 宽(CM) |
| 57 | height | height | string | 1 | 可选 | 高(CM) |
| 58 | is_sn_enable | is_sn_enable | string | 1 | 可选 | 0不启用序列号 1强序列号 2弱序列号 |
| 59 | is_allow_neg_stock | is_allow_neg_stock | string | 1 | 可选 | 0(不允许负库存);1(允许负库存) |
| 60 | is_not_need_examine | is_not_need_examine | string | 1 | 可选 | 0(出库不验货);1(出库必须验货) |
| 61 | is_zero_cost | is_zero_cost | string | 1 | 可选 | 0(不允许0成本);1(允许0成本) |
| 62 | is_lower_cost | is_lower_cost | string | 1 | 可选 | 0(不允许低于成本价);1(允许低于成本价) |
| 63 | is_not_use_air | is_not_use_air | string | 1 | 可选 | 0(航空不禁运) 1(航空禁运); |
| 64 | tax_rate | tax_rate | string | 1 | 可选 | 税率 |
| 65 | large_type | large_type | string | 1 | 可选 | 0非大件1普通大件2独立大件 |
| 66 | remark | remark | string | 1 | 可选 | 备注 |
| 67 | spec_created | spec_created | string | 1 | 可选 | 格式:YYYY-MM-DD HH:MM:SS。ERP客户端需升级至V2.3.8.6及以上版本可获取此字段 |
| 68 | spec_modified | spec_modified | string | 1 | 可选 | 格式:YYYY-MM-DD HH:MM:SS |
| 69 | prop1 | prop1 | string | 1 | 可选 | 自定义1 |
| 70 | prop2 | prop2 | string | 1 | 可选 | 自定义2 |
| 71 | prop3 | prop3 | string | 1 | 可选 | 自定义3 |
| 72 | prop4 | prop4 | string | 1 | 可选 | 自定义4 |
| 73 | prop5 | prop5 | string | 1 | 可选 | 自定义5 |
| 74 | prop6 | prop6 | string | 1 | 可选 | 自定义6 |
| 75 | img_url | img_url | string | 1 | 可选 | 图片url |
| 76 | tax_code_id | tax_code_id | string | 1 | 可选 | 关联税务表税务编码 |
| 77 | is_single_batch | is_single_batch | string | 1 | 可选 | 是否启用同一批次, 0,不使用同一批次,1,使用同一批次 |
| 78 | washing_label | washing_label | string | 1 | 可选 | 水洗标 |
| 79 | unit | unit | string | 1 | 可选 | 基本单位 |
| 80 | aux_unit | aux_unit | string | 1 | 可选 | 辅助单位 |
| 81 | flag_id | flag_id | string | 1 | 可选 | 标记 |
| 82 | img_key | img_key | string | 1 | 可选 | 看图片在外部空间的key 比如说 云盘的一个 外链 |
| 83 | barcode_count | barcode_count | string | 1 | 可选 | 条码个数 |
| 84 | plat_spec_count | plat_spec_count | string | 1 | 可选 | 平台货品数量(不包含删除的) |
| 85 | postfix_val | postfix_val | string | 1 | 可选 | sn自增数 |
| 86 | last_date | last_date | string | 1 | 可选 | 最后日期 格式:yyyy-MM-dd HH:mm:ss |
| 87 | replenish_type | replenish_type | string | 1 | 可选 | 补货方式 0持续补货 1不补货 2低于警戒库存补货 |
| 88 | is_popular | is_popular | string | 1 | 可选 | 是否畅销 0非畅销 1畅销 |
| 89 | replace_no | replace_no | string | 1 | 可选 | 备注换货匹配码 |
| 90 | spec_mask | spec_mask | string | 1 | 可选 | 单品标记二进制位 1同款备注换货虚拟规格 2是否在备注换货界面展示 |
| 91 | replace_proportion | replace_proportion | string | 1 | 可选 | 同款备注换货--虚拟货品换货比例 |
| 92 | extra_3 | extra_3 | string | 1 | 可选 | 扩展字段 |
| 93 | tax_code | tax_code | string | 1 | 可选 | 税务编码 |
| 94 | modified | modified | string | 1 | 可选 | 最后修改时间 格式:yyyy-MM-dd HH:mm:ss |
| 95 | created | created | string | 1 | 可选 | 创建时间 格式:yyyy-MM-dd HH:mm:ss |
| 96 | spec_unit_name | spec_unit_name | string | 1 | 可选 | 基本单位名称 |
| 97 | spec_aux_unit_name | spec_aux_unit_name | string | 1 | 可选 | 辅助单位名称 |
| 98 | deleted | deleted | string | 1 | 可选 | 是否已删除:0:未删除 >0代表已删除 |
旺店通·企业版的接口:查询货品档案_v1(goods_query),由轻易云数据集成平台 API 资产管理模块整理收纳,并随旺店通·企业版版本更新同步更新。