/erp/sc/data/local_inventory/brand{
"operation": {
"method": "POST",
"path": "/erp/sc/data/local_inventory/brand"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"offset": 0,
"length": 100
},
"responseExample": "{\n \"code\": 0,\n \"message\": \"success\",\n \"error_details\": [],\n \"request_id\": \"66A95CC1-C8E0-2CA8-13F8-2D0F3C7E86A6\",\n \"response_time\": \"2021-11-11 18:14:00\",\n \"data\": [\n {\n \"bid\": 1,\n \"title\": \"品牌1\",\n \"brand_code\": \"code\"\n },\n {\n \"bid\": 2,\n \"title\": \"品牌2\"\n \"brand_code\": \"code\" \n }\n ]\n}"
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 2 | length | 分页长度 | integer | — | 可选 | 分页长度,默认1000,上限1000 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 66A95CC1-C8E0-2CA8-13F8-2D0F3C7E86A6 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2021-11-11 18:14:00 | 必填 | 响应时间 |
| 6 | data | 返回数据 | array<object> | — | 必填 | 返回数据 |
| 6.1 | bid | 品牌id | integer | 2 | 必填 | 品牌id |
| 6.2 | title | 品牌名称 | string | 111 | 必填 | 品牌名称 |
| 6.3 | brand_code | 品牌简码 | string | — | 必填 | 品牌简码 |
领星ERP的接口:查询产品品牌列表(/erp/sc/data/local_inventory/brand),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。