/erp/sc/routing/data/local_inventory/productList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/data/local_inventory/productList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 1000,
"update_time_start": "1719799582",
"update_time_end": "1721873182",
"create_time_start": "1606790813",
"create_time_end": "1609343999",
"sku_list": [
"ceshi001",
"lingcui001",
"01"
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "A2272BA2-88BC-2908-39AC-680EBE954AD8",
"response_time": "2021-11-12 16:05:47",
"data": [
{
"id": 17835,
"cid": 0,
"bid": 0,
"sku": "654654654654",
"sku_identifier": "654654654654",
"product_name": "13131321655",
"pic_url": "https://xxx/xxx.jpeg",
"ps_id": 12,
"spu": "spu-123",
"cg_delivery": 555,
"cg_transport_costs": "0.00",
"purchase_remark": "20",
"cg_price": "10.0000",
"open_status": 1,
"status": 1,
"status_text": "在售",
"is_combo": 0,
"create_time": 1675945140,
"update_time": 1675945635,
"product_developer_uid": 0,
"product_developer": "",
"cg_opt_uid": 10317904,
"cg_opt_username": "xx",
"brand_name": "",
"category_name": "",
"global_tags": [],
"supplier_quote": [
{
"psq_id": 210279523458442240,
"product_id": 17835,
"supplier_id": 317,
"is_primary": 1,
"supplier_product_url": [
"https://axxx/xxx"
],
"quote_remark": "备注22222222",
"cg_price": "10.0000",
"cg_currency_icon": "¥",
"supplier_name": "橡胶制品",
"supplier_code": "SU00306",
"level_text": "★★★★★",
"employees_text": "1000人以上",
"remark": "备注1",
"quotes": [
{
"currency": "CNY",
"currency_icon": "¥",
"is_tax": 0,
"tax_rate": 0,
"step_prices": [
{
"moq": 0,
"price": "0.0000",
"price_with_tax": "0.0000"
}
]
}
]
}
],
"custom_fields": [
{
"id": "207257295331418113",
"name": "自定义",
"val_text": ""
}
]
}
],
"total": 1
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | 可选 | 分页长度,默认1000,上限1000 |
| 3 | update_time_start | 更新时间-开始时间【时间戳 | integer | — | 可选 | 更新时间-开始时间【时间戳,单位:秒,左闭右开】 |
| 4 | update_time_end | 更新时间-结束时间【时间戳 | integer | — | 可选 | 更新时间-结束时间【时间戳,单位:秒,左闭右开】 |
| 5 | create_time_start | 创建时间-开始时间【时间戳 | integer | — | 可选 | 创建时间-开始时间【时间戳,单位:秒,左闭右开】 |
| 6 | create_time_end | 创建时间-结束时间【时间戳 | integer | — | 可选 | 创建时间-结束时间【时间戳,单位:秒,左闭右开】 |
| 7 | sku_list | 本地产品sku | array<any> | — | 可选 | 本地产品sku |
| 8 | sku_identifier_list | sku识别码列表 | array<any> | — | 可选 | sku识别码列表 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | int | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | A2272BA2-88BC-2908-39AC-680EBE954AD8 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | total | 总数 | int | 1 | 必填 | 总数 |
| 7 | data | 响应数据 | array | — | 必填 | 响应数据 |
| 7.1 | id | 本地产品id | int | 1 | 必填 | 本地产品id |
| 7.2 | cid | 类别id | int | 2 | 必填 | 类别id |
| 7.3 | category_name | 类别 | string | 香薰机12 | 必填 | 类别 |
| 7.4 | bid | 品牌id | int | 1 | 必填 | 品牌id |
| 7.5 | brand_name | 品牌 | string | 手机电子 | 必填 | 品牌 |
| 7.6 | sku | 本地产品SKU | string | 视觉111 | 必填 | 本地产品SKU |
| 7.7 | open_status | 产品开启状态 | int | 1 | 可选 | 产品开启状态: 0-停用 ,1-启用 |
| 7.8 | sku_identifier | SKU识别码 | string | 视觉111 | 必填 | SKU识别码 |
| 7.9 | product_name | 品名 | string | 经济 | 必填 | 品名 |
| 7.10 | pic_url | 图片链接 | string | https://xxx/abe7be9439b8bb1865d6723f0a2.jpg | 必填 | 图片链接 |
| 7.11 | ps_id | SPU唯一id | int | 1 | 必填 | SPU唯一id |
| 7.12 | spu | spu | string | SPUAAA | 必填 | SPU |
| 7.13 | cg_delivery | 采购 | int | 13 | 必填 | 采购:交期 |
| 7.14 | cg_transport_costs | 采购 | number | 25.00 | 必填 | 采购:运输成本 |
| 7.15 | purchase_remark | 采购备注 | string | — | 必填 | 采购备注 |
| 7.16 | cg_price | 采购 | number | 1.00 | 必填 | 采购:采购成本(人民币) |
| 7.17 | open_status | 产品是否启用 | int | 1 | 必填 | 产品是否启用:0 停用,1 启用 |
| 7.18 | status | 状态 | int | 1 | 必填 | 状态:0 停售,1 在售,2 开发中,3 清仓 |
| 7.19 | status_text | 状态文本 | string | 在售 | 必填 | 状态文本 |
| 7.20 | is_combo | 是否为组合产品 | int | 0 | 必填 | 是否为组合产品:0 否,1 是 |
| 7.21 | create_time | 创建时间 | int | 1541575627 | 必填 | 创建时间 |
| 7.22 | update_time | 更新时间 | int | 1688531598 | 必填 | 更新时间 |
| 7.23 | global_tags | 产品标签信息 | array | — | 必填 | 产品标签信息 |
| 7.23.1 | global_tag_id | 标签id | string | — | 必填 | 标签id |
| 7.23.2 | tag_name | 标签名称 | string | — | 必填 | 标签名称 |
| 7.23.3 | color | 标签颜色 | string | — | 必填 | 标签颜色 |
| 7.24 | product_developer_uid | 开发人员id | string | 2 | 必填 | 开发人员id |
| 7.25 | product_developer | 开发人员名称 | string | 测试账号2 | 必填 | 开发人员名称 |
| 7.26 | cg_opt_uid | 采购 | string | — | 必填 | 采购:采购员id |
| 7.27 | cg_opt_username | 采购 | string | — | 必填 | 采购:采购员名称 |
| 7.28 | supplier_quote | 供应商报价信息 | array | — | 必填 | 供应商报价信息 |
| 7.28.1 | psq_id | 供应商报价id | string | — | 必填 | 供应商报价id |
| 7.28.2 | product_id | 产品id | int | — | 必填 | 产品id |
| 7.28.3 | supplier_id | 供应商id | int | — | 必填 | 供应商id |
| 7.28.4 | is_primary | 是否为首选供应商 | int | — | 必填 | 是否为首选供应商:0 否,1 是 |
| 7.28.5 | supplier_product_url | 采购链接 | array | — | 必填 | 采购链接 |
| 7.28.6 | quote_remark | 供应商报价备注 | string | — | 必填 | 供应商报价备注 |
| 7.28.7 | cg_price | 采购成本 | string | — | 必填 | 采购成本 |
| 7.28.8 | cg_currency_icon | 采购成本币种符号 | string | — | 必填 | 采购成本币种符号 |
| 7.28.9 | supplier_code | 供应商代码 | string | — | 必填 | 供应商代码 |
| 7.28.10 | level_text | 级别 | string | — | 必填 | 级别 |
| 7.28.11 | employees_text | 规模 | string | — | 必填 | 规模 |
| 7.28.12 | remark | 供应商备注 | string | — | 必填 | 供应商备注 |
| 7.28.13 | supplier_name | 供应商名称 | string | — | 必填 | 供应商名称 |
| 7.28.14 | quotes | 报价数据 | array | — | 必填 | 报价数据 |
| 7.28.14.1 | currency | 报价币种 | string | — | 必填 | 报价币种 |
| 7.28.14.2 | currency_icon | 报价币种符号 | string | — | 必填 | 报价币种符号 |
| 7.28.14.3 | is_tax | 是否含税 | int | — | 必填 | 是否含税:0 否 1 是 |
| 7.28.14.4 | tax_rate | 税率(百分比) | number | — | 必填 | 税率(百分比) |
| 7.28.14.5 | step_prices | 报价梯度 | array | — | 必填 | 报价梯度 |
| 7.28.14.5.1 | moq | 最小采购量 | int | — | 必填 | 最小采购量 |
| 7.28.14.5.2 | price | 不含税单价 | number | — | 必填 | 不含税单价 |
| 7.28.14.5.3 | price_with_tax | 含税单价 | number | — | 必填 | 含税单价 |
| 7.29 | custom_fields | 自定义字段 | array | — | 必填 | 自定义字段 |
| 7.29.1 | id | 字段ID | string | — | 必填 | 字段ID |
| 7.29.2 | name | 字段名 | string | — | 必填 | 字段名 |
| 7.29.3 | val_text | 字段值 | string | — | 必填 | 字段值 |
| 7.30 | attribute | 产品属性 | array | — | 必填 | 产品属性 |
| 7.30.1 | attr_id | 属性ID | string | — | 必填 | 属性ID |
| 7.30.2 | attr_name | 属性名称 | string | — | 必填 | 属性名称 |
| 7.30.3 | attr_value | 属性值 | string | | 必填 | 属性值 |
| 7.31 | new_qc_standard | 新质检标准 | object | — | 必填 | 新质检标准 |
| 7.31.1 | qc_method | 质检方式 | int | 1 | 必填 | 质检方式:1抽检,2全检,3免检 |
| 7.31.2 | qc_method_text | 质检方式 | string | 抽检 | 必填 | 质检方式 |
| 7.31.3 | pqt_id | 系统质检模板ID | string | 210742283790577664 | 必填 | 系统质检模板ID |
| 7.31.4 | system_qc_template | 系统质检模板标准 | object | — | 必填 | 系统质检模板标准 |
| 7.31.4.1 | pqt_id | 系统质检模板ID | string | 210742283790577664 | 必填 | 系统质检模板ID |
| 7.31.4.2 | name | 系统质检名称 | string | openapi | 必填 | 系统质检名称 |
| 7.31.4.3 | qc_image | 系统质检图片列表 | array | — | 必填 | 系统质检图片列表 |
| 7.31.4.3.1 | file_id | 图片ID | string | 10064 | 必填 | 图片ID |
| 7.31.4.3.2 | file_name | 图片名称 | string | 质检图片.jpg | 必填 | 图片名称 |
| 7.31.4.3.3 | file_url | 图片URL | string | /api/file/previewimg/id/10064/type/0.html | 必填 | 图片URL |
| 7.31.4.4 | qc_attachment | 系统质检附件 | array | — | 必填 | 系统质检附件 |
| 7.31.4.4.1 | file_id | 附件ID | string | 10065 | 必填 | 附件ID |
| 7.31.4.4.2 | file_name | 附件名称 | string | 质检附件.png | 必填 | 附件名称 |
| 7.31.4.4.3 | file_url | 附件URL | string | /api/file/previewimg/id/10065/type/0.html | 必填 | 附件URL |
| 7.31.4.5 | template_item | 系统质检项完整列表 | array | — | 必填 | 系统质检项完整列表 |
| 7.31.4.5.1 | pqti_id | 质检项ID | string | 210742283790577665 | 必填 | 质检项ID |
| 7.31.4.5.2 | qc_item | 质检项名称 | string | 外观 | 必填 | 质检项名称 |
| 7.31.4.5.3 | sort | 排序 | int | 0 | 必填 | 排序 |
| 7.31.4.5.4 | qc_content | 质检内容 | object | ["无破损"] | 必填 | 质检内容 |
| 7.31.4.5.5 | create_time | 创建时间 | string | 2026-09-09 11:20 | 必填 | 创建时间 |
| 7.31.5 | custom_qc_template | 自定义质检标准 | object | — | 必填 | 自定义质检标准 |
| 7.31.5.1 | pqt_id | 质检项ID | string | 210742282204688387 | 必填 | 质检项ID |
| 7.31.5.2 | name | 质检项名称 | string | 10552173 | 必填 | 质检项名称 |
| 7.31.5.3 | qc_image | 自定义质检图片列表 | array | — | 必填 | 自定义质检图片列表 |
| 7.31.5.3.1 | file_id | 图片ID | string | — | 必填 | 图片ID |
| 7.31.5.3.2 | file_name | 图片名称 | string | — | 必填 | 图片名称 |
| 7.31.5.3.3 | file_url | 图片URL | string | — | 必填 | 图片URL |
| 7.31.5.4 | template_item | 自定义质检项完整列表 | array | — | 必填 | 自定义质检项完整列表 |
| 7.31.5.4.1 | pqti_id | 自定义质检项ID | string | 210742282204688388 | 必填 | 自定义质检项ID |
| 7.31.5.4.2 | qc_item | 质检项名称 | string | 自定义 | 必填 | 质检项名称 |
| 7.31.5.4.3 | sort | 排序 | int | 0 | 必填 | 排序 |
| 7.31.5.4.4 | qc_content | 质检内容 | object | ["自定义质检内容"] | 必填 | 质检内容 |
| 7.31.5.4.5 | create_time | 创建时间 | string | 2026-09-09 11:20 | 必填 | 创建时间 |
领星ERP的接口:查询本地产品列表(/erp/sc/routing/data/local_inventory/productList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。