wdt.goods.goods.querywithspec{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | pager | 分页参数 | object | — | 可选 | 分页参数 |
| 1.1 | page_size | 分页大小 | int | — | 可选 | 分页大小 |
| 2 | params | 业务参数 | object | — | 可选 | 业务参数 |
| 2.1 | page_no | 页号 | int | — | 可选 | 从0开始 |
| 2.2 | spec_no | 商家编码 | string | — | 可选 | 商家编码(如果不传时间,则spec_no和goods_no必须传一个) |
| 2.3 | goods_no | 货品编号 | string | — | 可选 | 货品编号 |
| 2.4 | brand_name | 品牌编号 | string | — | 可选 | 品牌编号 |
| 2.5 | class_name | 分类名称 | string | — | 可选 | 分类名称 |
| 2.6 | barcode | 条码 | string | — | 可选 | 条码 |
| 2.7 | hide_deleted | 是否隐藏已删除的货品。 | bool | — | 可选 | 0:返回全部;1:隐藏已删除 默认隐藏 |
| 2.8 | start_time | 开始时间 | datetime | {{LAST_SYNC_TIME}} | 必填 | 起始修改时间 |
| 2.9 | end_time | 结束时间 | datetime | {{CURRENT_TIME}} | 必填 | 结束修改时间, 不填默认为当前时间 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | goods_no | 货品编号 | string | — | 必填 | 货品编号 |
| 2 | goods_name | 货品名称 | string | — | 必填 | 货品名称 |
| 3 | short_name | 简称 | string | — | 可选 | 简称 |
| 4 | alias | 货品别名 | string | — | 可选 | 货品别名 |
| 5 | goods_type | 货品类别 | string | — | 必填 | 货品类别 0:其它 1:销售货品 2:原材料 3:包装物 4:周转材料 5:虚拟商品 6:固定资产 8:分装箱 |
| 6 | spec_count | 规格数 | int | — | 可选 | 规格数 |
| 7 | brand_name | 品牌名称 | string | — | 可选 | 品牌名称 |
| 8 | origin | 产地 | string | — | 可选 | 产地 |
| 9 | class_name | 分类名称 | string | — | 可选 | 分类名称 |
| 10 | unit_name | 基本单位 | string | — | 必填 | 基本单位 |
| 11 | aux_unit_name | 辅助单位 | string | — | 可选 | 辅助单位 |
| 12 | flag_name | 标记名称 | string | — | 可选 | 标记名称 |
| 13 | goods_modified | 最后修改时间 | datetime | — | 必填 | 最后修改时间 |
| 14 | goods_created | 创建时间 | datetime | — | 可选 | 创建时间, 时间格式 YYYY-MM-DD HH:MM:SS |
| 15 | spec_list | 单品信息详情 | array | — | 可选 | 单品信息详情 |
| 15.1 | remark | 备注 | string | — | 可选 | 备注 |
| 15.2 | prop1 | 自定义属性1 | string | — | 可选 | 自定义属性1 |
| 15.3 | prop2 | 自定义属性2 | string | — | 可选 | 自定义属性2 |
| 15.4 | prop3 | 自定义属性3 | string | — | 可选 | 自定义属性3 |
| 15.5 | prop4 | 自定义属性4 | string | — | 可选 | 自定义属性4 |
| 15.6 | prop5 | 自定义属性5 | string | — | 可选 | 自定义属性5 |
| 15.7 | prop6 | 自定义属性6 | string | — | 可选 | 自定义属性6 |
| 15.8 | deleted | 货品已删除 | int | — | 可选 | 0代表未删除 大于0代表已删除 |
| 15.9 | spec_no | 商家编码 | string | — | 可选 | 商家编码 |
| 15.10 | spec_code | 规格码 | string | — | 可选 | 规格码 |
| 15.11 | barcode | 主条码 | string | — | 可选 | 主条码 |
| 15.12 | spec_name | 规格名称 | string | — | 可选 | 规格名称 |
| 15.13 | lowest_price | 最低价 | float | — | 可选 | 最低价 |
| 15.14 | retail_price | 零售价 | float | — | 可选 | 零售价 |
| 15.15 | wholesale_price | 批发价 | float | — | 可选 | 批发价 |
| 15.16 | member_price | 会员价 | float | — | 可选 | 会员价 |
| 15.17 | market_price | 市场价 | float | — | 可选 | 市场价 |
| 15.18 | validity_days | 有效期天数 | float | — | 可选 | 有效期天数 |
| 15.19 | sales_days | 最佳销售天数 | int | — | 可选 | 最佳销售天数 |
| 15.20 | receive_days | 最佳收获天数 | int | — | 可选 | 最佳收获天数 |
| 15.21 | weight | 重量(kg) | float | — | 可选 | 重量(kg) |
| 15.22 | length | 长(cm) | float | — | 可选 | 长(cm) |
| 15.23 | width | 宽(cm) | float | — | 可选 | 宽(cm) |
| 15.24 | height | 高(cm) | float | — | 可选 | 高(cm) |
| 15.25 | sn_type | 启用序列号 | int | — | 可选 | 启用序列号(原is_sn_enable) |
| 15.26 | is_lower_cost | 允许低于成本价 | bool | — | 可选 | 允许低于成本价 |
| 15.27 | is_not_use_air | 航空禁运 | int | — | 可选 | 航空禁运 |
| 15.28 | wms_process_mask | 仓库流程 | int | — | 可选 | 仓库流程 |
| 15.29 | tax_rate | 税率 | float | — | 可选 | 税率 |
| 15.30 | large_type | 大件类别 | int | — | 可选 | 大件类别 0、 非大件 1、 普通大 2、 独立大件(不可和小件一起发) 3、按箱规拆分 -1、非单发件 |
| 15.31 | goods_label | 货品标签 | string | — | 可选 | 货品标签 |
| 15.32 | spec_modified | 最后修改时间 | datetime | — | 可选 | 最后修改时间 |
| 15.33 | spec_created | 创建时间 | datetime | — | 可选 | 创建时间, 时间格式 YYYY-MM-DD HH:MM:SS |
| 15.34 | img_url | 图片URL | string | — | 可选 | 图片URL |
| 15.35 | spec_unit_name | 基本单位 | string | — | 可选 | 基本单位 |
| 15.36 | spec_aux_unit_name | 辅助单位 | string | — | 可选 | 辅助单位 |
旺店通·旗舰奇门的接口:货品档案查询(wdt.goods.goods.querywithspec),由轻易云数据集成平台 API 资产管理模块整理收纳,并随旺店通·旗舰奇门版本更新同步更新。