/listing/publish/api/upc/upcList{
"operation": {
"method": "POST",
"path": "/listing/publish/api/upc/upcList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 200
},
"responseExample": {
"code": 0,
"msg": "成功",
"data": {
"total": 2,
"list": [
{
"id": 97,
"commodity_code": "88886666",
"code_type": "EAN",
"is_used": 1,
"created_user_id": 129100,
"use_user_id": 547,
"use_time": "2021-09-26 17:13:55",
"remark": "",
"gmt_create": "2021-09-24 19:05:40",
"is_used_desc": "已使用"
},
{
"id": 221,
"commodity_code": "56565560",
"code_type": "EAN",
"is_used": 0,
"created_user_id": 502,
"use_user_id": 0,
"use_time": "",
"remark": "",
"gmt_create": "2022-12-09 19:46:10",
"is_used_desc": "未使用"
}
]
},
"request_id": "550d352c-7a05-11ed-b0c7-0242ac1c0004"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | 可选 | 分页长度,默认20 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | msg | 状态说明 | string | 成功 | 必填 | 状态说明 |
| 3 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 3.1 | total | 商品编码总数 | integer | 2 | 必填 | 商品编码总数 |
| 3.2 | list | 商品编码数据列表 | array<object> | — | 必填 | 商品编码数据列表 |
| 3.2.1 | id | 记录唯一id | number | 220 | 必填 | 记录唯一id |
| 3.2.2 | commodity_code | 商品编码 | string | 88888899 | 必填 | 商品编码 |
| 3.2.3 | code_type | 商品编码类型 | string | EAN | 必填 | 商品编码类型 |
| 3.2.4 | is_used | 商品编码使用状态 | number | 1 | 必填 | 商品编码使用状态:0 否 ,1 是 |
| 3.2.5 | created_user_id | 创建人uid | number | 502 | 必填 | 创建人uid |
| 3.2.6 | use_user_id | 使用人uid | number | 502 | 必填 | 使用人uid |
| 3.2.7 | use_time | 商品编码被使用的时间 | string | 2021-09-26 17:13:55 | 必填 | 商品编码被使用的时间 |
| 3.2.8 | remark | 备注 | string | — | 必填 | 备注 |
| 3.2.9 | gmt_create | 商品编码创建时间 | string | 2022-12-09 19:46:10 | 必填 | 商品编码创建时间 |
| 3.2.10 | is_used_desc | 商品编码使用状态说明 | string | 已使用 | 必填 | 商品编码使用状态说明 |
| 4 | request_id | 请求链路id | string | 550d352c-7a05-11ed-b0c7-0242ac1c0004 | 必填 | 请求链路id |
领星ERP的接口:获取UPC编码列表(/listing/publish/api/upc/upcList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。