轻易云
注册体验

领星ERP添加 / 编辑产品属性接口

所属平台
领星ERP
类型
WebAPI
作用
EXECUTE
接口版本
1.0
适配器
\Adapter\LingXing\LXExecuteAdapter
授权方式
OTHER
描述
产品 · POST · 请求参数 5 个(必填 3) · 响应参数 8 个 · 限流令牌桶容量 1
更新日期
2026-11-21

添加 / 编辑产品属性

POST/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}"
}

接口请求参数

序号字段名称类型默认值必填描述
1pa_id领星属性idinteger—可选领星属性id
2attr_name属性名string—必填属性名
3attr_values属性值数组array<object>—必填属性值数组
3.1pai_id领星属性值idinteger—可选领星属性值id
3.2attr_value属性值名称string—必填属性值名称

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误信息array<any>—必填错误信息
4request_id请求链路idstring8D680B8B-3C6F-3E16-F055-73DC70EAD977必填请求链路id
5response_time响应时间string2020-05-18 11:23:47必填响应时间
6data响应数据array<object>&nbsp;必填响应数据
6.1pa_id属性名integer100必填属性名
6.2pai_id属性值integer1000必填属性值

领星ERP的接口:添加 / 编辑产品属性(/erp/sc/routing/storage/attribute/set),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。