/erp/sc/routing/storage/category/set{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/category/set"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"data": [
{
"id": 1,
"parent_cid": 0,
"title": "衣服",
"category_code": "Bo135152"
}
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "71936B27-D0AE-8436-7F4F-62BEC7201AAE",
"response_time": "2021-11-11 18:21:45",
"data": [
{
"title": "华为2",
"parent_cid": "",
"id": "41"
}
],
"total": 1
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | data | 请求数据 | array<object> | — | Required | 请求数据 |
| 1.1 | id | 为空时新增 | integer | — | Optional | 为空时新增,不为空时编辑,查询本地产品分类列表对应cid字段 |
| 1.2 | parent_cid | 父级分类id | integer | — | Optional | 父级分类id |
| 1.3 | title | 分类名称 | string | — | Required | 分类名称 |
| 1.4 | category_code | 分类简码 | string | — | Required | 分类简码 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 返回信息 | string | success | Required | 返回信息 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | — | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2021-01-11 14:49:12 | Required | 响应时间 |
| 6 | data | 成功的数据 | array<object> | — | Required | 成功的数据 |
| 6.1 | id | 分类id | string | 3 | Required | 分类id |
| 6.2 | title | 分类名称 | string | 衣服 | Required | 分类名称 |
The 添加 / 编辑产品分类 API (/erp/sc/routing/storage/category/set) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.