/erp/sc/routing/storage/spu/spuList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/spu/spuList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 20
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "68E5504B-B027-72D4-336B-0A59825AC259",
"response_time": "2022-09-13 15:04:37",
"data": [
{
"ps_id": 1,
"spu": "spu-0001",
"spu_name": "spu-0001",
"model": "1",
"cid": 1275,
"bid": 1012,
"developer_uid": 10397585,
"cg_uid": 10317902,
"cg_price": "11.000000",
"purchase_remark": "1111",
"cg_delivery": 1,
"create_uid": 10319730,
"create_time": "2022-07-14 17:47:18",
"status": 1
}
],
"total": 66
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | 必填 | 分页偏移量 |
| 2 | length | 分页长度 | integer | — | 必填 | 分页长度,上限200 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 提示信息 | string | success | 必填 | 提示信息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 68E5504B-B027-72D4-336B-0A59825AC259 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-09-13 15:04:37 | 必填 | 响应时间 |
| 6 | total | 总数 | integer | 1 | 必填 | 总数 |
| 7 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 7.1 | ps_id | SPU 唯一id | integer | — | 必填 | SPU 唯一id |
| 7.2 | spu | spu | string | spu-001 | 必填 | SPU |
| 7.3 | spu_name | 款名 | string | spu-001 | 必填 | 款名 |
| 7.4 | model | 型号 | string | 1 | 必填 | 型号 |
| 7.5 | cid | 分类id | integer | 1275 | 必填 | 分类id |
| 7.6 | bid | 品牌id | integer | 1012 | 必填 | 品牌id |
| 7.7 | developer_uid | 开发人id | integer | 1 | 必填 | 开发人id |
| 7.8 | cg_uid | 采购员id | integer | 1 | 必填 | 采购员id |
| 7.9 | purchase_remark | 采购备注 | string | xx | 必填 | 采购备注 |
| 7.10 | cg_price | 采购成本 | string | 11.000000 | 必填 | 采购成本 |
| 7.11 | cg_delivery | 交期 | integer | 1 | 必填 | 交期 |
| 7.12 | create_uid | 创建人id | string | 1 | 必填 | 创建人id |
| 7.13 | create_time | 创建时间 | string | 2022-01-30 00:02:00 | 必填 | 创建时间 |
| 7.14 | status | 状态 | integer | 1 | 必填 | 状态: 0 停售, 1 在售, 2 开发中, 3 清仓 |
领星ERP的接口:查询多属性产品列表(/erp/sc/routing/storage/spu/spuList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。