gy.erp.items.get{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | start_date | 修改时间开始段 | datetime | {{LAST_SYNC_TIME}} | 可选 | 修改时间开始段 |
| 2 | end_date | 修改时间结束段 | datetime | {{CURRENT_TIME}} | 可选 | 修改时间结束段 |
| 3 | code | 商品代码 | string | — | 可选 | 商品代码 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | id | 商品ID | string | — | 可选 | 商品ID |
| 2 | create_date | 创建时间 | datetime | — | 可选 | 创建时间 |
| 3 | modify_date | 修改时间 | datetime | — | 可选 | 修改时间 |
| 4 | code | 商品代码 | string | — | 可选 | 商品代码 |
| 5 | name | 商品名称 | string | — | 可选 | 商品名称 |
| 6 | note | 备注 | string | — | 可选 | 备注 |
| 7 | weight | 重量 | float | — | 可选 | 重量 |
| 8 | combine | 是否为组合商品 | bool | — | 可选 | 是否为组合商品 |
| 9 | del | 是否已停用 | bool | — | 可选 | 是否已停用 |
| 10 | length | 长 | bool | — | 可选 | 长 |
| 11 | width | 宽 | bool | — | 可选 | 宽 |
| 12 | height | 高 | bool | — | 可选 | 高 |
| 13 | volume | 体积 | float | — | 可选 | 体积 |
| 14 | simple_name | 商品简称 | string | — | 可选 | 商品简称 |
| 15 | category_code | 分类代码 | string | — | 可选 | 分类代码 |
| 16 | category_name | 分类名称 | string | — | 可选 | 分类名称 |
| 17 | supplier_code | 供应商代码 | string | — | 可选 | 供应商代码 |
| 18 | item_unit_code | 商品单位代码 | string | — | 可选 | 商品单位代码 |
| 19 | item_unit_name | 商品单位名称 | string | — | 可选 | 商品单位名称 |
| 20 | package_point | 打包积分 | bool | — | 可选 | 打包积分 |
| 21 | sales_point | 销售积分 | bool | — | 可选 | 销售积分 |
| 22 | sales_price | 标准售价 | bool | — | 可选 | 标准售价 |
| 23 | purchase_price | purchase_price | bool | — | 可选 | purchase_price |
| 24 | agent_price | 代理售价 | float | — | 可选 | 代理售价 |
| 25 | cost_price | 成本价 | float | — | 可选 | 成本价 |
| 26 | stock_status_code | 库存状态代码 | string | — | 可选 | 库存状态代码 |
| 27 | pic_url | 图片地址 | string | — | 可选 | 图片地址 |
| 28 | tax_no | 税号 | string | — | 可选 | 税号 |
| 29 | tax_rate | 税率 | float | — | 可选 | 税率 |
| 30 | origin_area | 原产地 | string | — | 可选 | 原产地 |
| 31 | supplier_outerid | 供应商货号 | string | — | 可选 | 供应商货号 |
| 32 | shelf_life | 保质期 | int | — | 可选 | 保质期 |
| 33 | warning_days | 预警天数 | int | — | 可选 | 预警天数 |
| 34 | skus | 规格信息 | array | — | 可选 | 规格信息 |
| 34.1 | id | 规格ID | string | — | 可选 | 规格ID |
| 34.2 | code | 规格代码 | string | — | 可选 | 规格代码 |
| 34.3 | name | 规格名称 | string | — | 可选 | 规格名称 |
| 34.4 | note | 备注 | string | — | 可选 | 备注 |
| 34.5 | weight | 重量 | float | — | 可选 | 重量 |
| 34.6 | volume | 体积 | float | — | 可选 | 体积 |
| 34.7 | sales_point | 销售积分 | float | — | 可选 | 销售积分 |
| 34.8 | sales_price | 标准售价 | float | — | 可选 | 标准售价 |
| 34.9 | purchase_price | 标准进价 | float | — | 可选 | 标准进价 |
| 34.10 | agent_price | 代理售价 | float | — | 可选 | 代理售价 |
| 34.11 | stock_status_code | 库存状态代码 | string | — | 可选 | 库存状态代码 |
| 34.12 | bar_code | 商品条码 | string | — | 可选 | 商品条码 |
| 34.13 | tax_no | 税号 | string | — | 可选 | 税号 |
| 34.14 | origin_area | 原产地 | string | — | 可选 | 原产地 |
| 34.15 | supplier_outerid | 供应商货号 | string | — | 可选 | 供应商货号 |
| 35 | combine_items | 组合明细 | array | — | 可选 | 组合明细 |
| 35.1 | id | 明细商品ID | string | — | 可选 | 明细商品ID |
| 35.2 | create_date | 明细商品的创建时间 | datetime | — | 可选 | 明细商品的创建时间 |
| 35.3 | modify_date | 明细商品的修改时间 | datetime | — | 可选 | 明细商品的修改时间 |
| 35.4 | qty | 数量 | int | — | 可选 | 数量 |
| 35.5 | percent | 权重比例 | float | — | 可选 | 权重比例 |
| 35.6 | item_code | 明细商品的商品代码 | string | — | 可选 | 明细商品的商品代码 |
| 35.7 | item_name | 明细商品的商品代码 | string | — | 可选 | 明细商品的商品代码 |
| 35.8 | simple_name | 明细商品的商品代码 | string | — | 可选 | 明细商品的商品代码 |
| 35.9 | item_sku_code | 明细商品的商品代码 | string | — | 可选 | 明细商品的商品代码 |
| 35.10 | item_sku_name | 明细商品的商品代码 | string | — | 可选 | 明细商品的商品代码 |
| 35.11 | sales_price | 明细商品的标准售价 | float | — | 可选 | 明细商品的标准售价 |
| 36 | custom_attr | 自定义属性 | array | — | 可选 | 自定义属性 |
| 37 | item_add_attribute | 商品附加属性 | int | — | 可选 | 0:普通商品 1:唯一码商品 2:批次商品 |
| 38 | item_brand_code | 品牌代码 | string | — | 可选 | 品牌代码 |
| 39 | item_brand_name | 品牌名称 | string | — | 可选 | 品牌名称 |
| 40 | package_point | 打包积分 | float | — | 可选 | 打包积分 |
| 41 | cost_price | 成本价 | float | — | 可选 | 成本价 |
| 42 | tax_rate | 税率 | float | — | 可选 | 税率 |
管易云的接口:商品查询(gy.erp.items.get),由轻易云数据集成平台 API 资产管理模块整理收纳,并随管易云版本更新同步更新。