/basicOpen/product/operationPlan/update{
"operation": {
"method": "POST",
"path": "/basicOpen/product/operationPlan/update"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/product/operationPlan/update?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"planDTO\": {\n \"id\": \"1869668821036392450\",\n \"planName\": \"ASIN测试计划\",\n \"asin\": \"B07R3WDSZR\",\n \"currencyCode\": \"USD\",\n \"chargeUid\": 10326572,\n \"remark\": \"更新测试备注\",\n \"fileUrl\": \"[]\"\n },\n \"planTaskDTOAddList\": [\n {\n \"taskName\": \"新增发货计划任务\",\n \"taskDeliver\": \"发货计划编号\",\n \"expectStartTime\": \"2026-08-31\",\n \"expectEndTime\": \"2026-09-04\",\n \"handleUid\": 10326572\n }\n ],\n \"planTaskDTOUpdateList\": [\n {\n \"id\": \"139734943726116960\",\n \"handleUid\": 10326572\n }\n ],\n \"planTaskDTODeleteList\": [\n {\n \"id\": \"139734943726116961\"\n }\n ],\n \"planTargetDTOList\": [\n {\n \"targetKey\": \"sale\",\n \"targetDetail\": \"sum\",\n \"targetType\": 1,\n \"targetValue\": \"100\"\n }\n ]\n}'",
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "a0d54debf93140f3b58d1ed81e8e3583",
"response_time": "2026-08-18 12:00:00",
"data": null,
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | planDTO | 要修改的计划信息 | object | — | 必填 | 要修改的计划信息 |
| 1.1 | id | 运营计划ID | string | — | 必填 | 运营计划ID,来源:查询运营计划列表返回的 data>>records>>id |
| 1.2 | planName | 计划名称 | string | — | 可选 | 计划名称,来源:查询运营计划列表返回的 data>>records>>planName |
| 1.3 | asin | 原计划为 asin 维度时必传 | string | — | 可选 | 原计划为 asin 维度时必传,仅用于校验,不会修改;来源:查询运营计划列表返回的 data>>records>>asin |
| 1.4 | parentAsin | 原计划为 parentAsin 维度时必传 | string | — | 可选 | 原计划为 parentAsin 维度时必传,仅用于校验,不会修改;来源:查询运营计划列表返回的 data>>records>>parentAsin |
| 1.5 | sku | 原计划为 sku 维度时必传 | string | — | 可选 | 原计划为 sku 维度时必传,仅用于校验,不会修改;来源:查询运营计划列表返回的 data>>records>>sku |
| 1.6 | currencyCode | sku维度必传 | string | — | 可选 | sku维度必传;其他维度回传原值,来源:查询运营计划列表返回的 data>>records>>currencyCode |
| 1.7 | chargeUid | 修改计划负责人时传入 | integer | — | 可选 | 修改计划负责人时传入,来源:查询用户管理列表返回的 data>>uid |
| 1.8 | remark | 计划备注 | string | — | 可选 | 计划备注 |
| 1.9 | fileUrl | 附件地址 | string | — | 可选 | 附件地址 |
| 2 | planTaskDTOAddList | 新增任务 | array<object> | — | 可选 | 新增任务 |
| 2.1 | taskName | 任务名称 | string | — | 可选 | 任务名称 |
| 2.2 | taskDeliver | 任务交付物 | string | — | 可选 | 任务交付物 |
| 2.3 | expectStartTime | 预期开始日期 | string | — | 可选 | 预期开始日期,格式 yyyy-MM-dd |
| 2.4 | expectEndTime | 预期结束日期 | string | — | 可选 | 预期结束日期,格式 yyyy-MM-dd |
| 2.5 | handleUid | 处理人UID | integer | — | 可选 | 处理人UID,来源:查询用户管理列表返回的 data>>uid |
| 2.6 | opTemplateId | 计划模板ID | string | — | 可选 | 计划模板ID,来源:查询运营计划模板列表返回的 data>>records>>id |
| 2.7 | opTemplateTaskId | 模板任务ID | string | — | 可选 | 模板任务ID,来源:将本任务的 opTemplateId 传入查询运营计划模板任务,获取返回的 data>>id |
| 2.8 | taskSubject | 任务主题 | string | — | 可选 | 任务主题 |
| 2.9 | taskTag | 任务标签 | string | — | 可选 | 任务标签 |
| 2.10 | remark | 任务备注 | string | — | 可选 | 任务备注 |
| 3 | planTaskDTOUpdateList | 修改已有任务 | array<object> | — | 可选 | 修改已有任务 |
| 3.1 | id | 要修改的任务ID | string | — | 必填 | 要修改的任务ID |
| 3.2 | handleUid | 新处理人UID | integer | — | 可选 | 新处理人UID,来源:查询用户管理列表返回的 data>>uid |
| 3.3 | remark | 新备注 | string | — | 可选 | 新备注 |
| 4 | planTaskDTODeleteList | 删除任务 | array<object> | — | 可选 | 删除任务 |
| 4.1 | id | 要删除的任务ID | string | — | 必填 | 要删除的任务ID |
| 5 | planTargetDTOList | 替换计划指标 | array<object> | — | 可选 | 替换计划指标;不传、传 null 或空数组时保留原指标 |
| 5.1 | targetKey | 指标编码 | string | — | 必填 | 指标编码,见附加说明 |
| 5.2 | targetDetail | targetDetail | string | — | 可选 | sale、salesVolume、orderQuantity 必传 sum 或 avg;其他指标传空字符串或不传 |
| 5.3 | targetValue | 指标值 | string | — | 必填 | 指标值,数字字符串且不能带 % |
| 5.4 | targetType | 指标分类 | integer | — | 可选 | 指标分类 1:销售指标 2:广告指标 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0:成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 数据校验失败时的错误详情 | array<any> | — | 必填 | 数据校验失败时的错误详情 |
| 4 | request_id | 请求链路 id | string | a0d54debf93140f3b58d1ed81e8e3583 | 必填 | 请求链路 id |
| 5 | response_time | 响应时间 | string | 2026-08-18 12:00:00 | 必填 | 响应时间 |
| 6 | data | 无业务返回数据 | object | — | 必填 | 无业务返回数据 |
| 7 | total | 总记录数 | integer | 0 | 必填 | 总记录数 |
领星ERP的接口:商品维度 - 修改运营计划(/basicOpen/product/operationPlan/update),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。