/erp/sc/routing/storage/attribute/set{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/attribute/set"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"pa_id": 1,
"attr_name": "颜色",
"attr_values": [
{
"pai_id": 12,
"attr_value": "白色"
}
]
},
"responseExample": "{\n \"code\": 0,\n \"message\": \"success\",\n \"error_details\": [],\n \"request_id\": \"8D680B8B-3C6F-3E16-F055-73DC70EAD977\",\n \"response_time\": \"2024-07-29 15:35:49\",\n \"data\": [\n \t{\n \t\t\"pa_id\": 100,\n \t\t\"pai_id\": 1000\n \t}\n ]\n \"total\": 0\n}"
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | pa_id | 领星属性id | integer | — | Optional | 领星属性id |
| 2 | attr_name | 属性名 | string | — | Required | 属性名 |
| 3 | attr_values | 属性值数组 | array<object> | — | Required | 属性值数组 |
| 3.1 | pai_id | 领星属性值id | integer | — | Optional | 领星属性值id |
| 3.2 | attr_value | 属性值名称 | 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 | 8D680B8B-3C6F-3E16-F055-73DC70EAD977 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 响应数据 | array<object> | | Required | 响应数据 |
| 6.1 | pa_id | 属性名 | integer | 100 | Required | 属性名 |
| 6.2 | pai_id | 属性值 | integer | 1000 | Required | 属性值 |
The 添加 / 编辑产品属性 API (/erp/sc/routing/storage/attribute/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.