/basicOpen/product/operationPlan/add{
"operation": {
"method": "POST",
"path": "/basicOpen/product/operationPlan/add"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/product/operationPlan/add?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"planDTO\": {\n \"dimension\": \"sku\",\n \"planName\": \"SKU测试计划\",\n \"storeIds\": \"8,9,10,12\",\n \"sku\": \"00202192103\",\n \"currencyCode\": \"USD\",\n \"chargeUid\": 10326572,\n \"startTime\": \"2026-08-31\",\n \"endTime\": \"2026-09-30\",\n \"planStatus\": 1,\n \"remark\": \"新品运营计划\",\n \"fileUrl\": \"[]\"\n },\n \"planTaskDTOList\": [\n {\n \"taskName\": \"完成发货计划\",\n \"taskDeliver\": \"发货计划编号\",\n \"expectStartTime\": \"2026-08-31\",\n \"expectEndTime\": \"2026-09-04\",\n \"handleUid\": 10326572\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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | planDTO | 运营计划基本信息 | object | — | Required | 运营计划基本信息 |
| 1.1 | dimension | 计划维度 | string | — | Required | 计划维度 asin:ASIN parentAsin:父ASIN sku:SKU |
| 1.2 | planName | 计划名称 | string | — | Optional | 计划名称,公司内不能重名 |
| 1.3 | storeId | 店铺ID | integer | — | Optional | 店铺ID,asin、parentAsin维度必传,来源:查询亚马逊店铺列表返回的 data[].sid |
| 1.4 | storeIds | 多个店铺ID | string | — | Optional | 多个店铺ID,sku维度必传,英文逗号分隔,来源:查询亚马逊店铺列表返回的 data[].sid |
| 1.5 | asin | asin | string | — | Optional | ASIN,dimension 为 asin 时必传 |
| 1.6 | parentAsin | 父ASIN | string | — | Optional | 父ASIN,dimension 为 parentAsin 时必传 |
| 1.7 | sku | sku | string | — | Optional | SKU,dimension 为 sku 时必传 |
| 1.8 | currencyCode | 统计币种 | string | — | Optional | 统计币种,sku维度必传;asin、parentAsin维度可传空字符串 |
| 1.9 | chargeUid | 计划负责人UID | integer | — | Optional | 计划负责人UID,来源:查询用户管理列表返回的 data>>uid |
| 1.10 | startTime | 计划开始日期 | string | — | Required | 计划开始日期,格式 yyyy-MM-dd |
| 1.11 | endTime | 计划结束日期 | string | — | Optional | 计划结束日期,格式 yyyy-MM-dd |
| 1.12 | planStatus | 计划状态 | integer | — | Optional | 计划状态 0:未开始 1:进行中 2:已结束 |
| 1.13 | remark | 计划备注 | string | — | Optional | 计划备注 |
| 1.14 | fileUrl | 附件地址 | string | — | Optional | 附件地址,空值由后端设置为空字符串 |
| 2 | planTaskDTOList | 创建计划时一并新增的任务 | array<object> | — | Optional | 创建计划时一并新增的任务 |
| 2.1 | taskName | 任务名称 | string | — | Required | 任务名称 |
| 2.2 | taskDeliver | 任务交付物 | string | — | Required | 任务交付物 |
| 2.3 | expectStartTime | 预期开始日期 | string | — | Required | 预期开始日期,格式 yyyy-MM-dd |
| 2.4 | expectEndTime | 预期结束日期 | string | — | Required | 预期结束日期,格式 yyyy-MM-dd |
| 2.5 | handleUid | 处理人UID | integer | — | Required | 处理人UID,来源:查询用户管理列表返回的 data>>uid |
| 2.6 | opTemplateId | 计划模板ID | string | — | Optional | 计划模板ID,来源:查询运营计划模板列表返回的 data>>records>>id |
| 2.7 | opTemplateTaskId | 模板任务ID | string | — | Optional | 模板任务ID,来源:将本任务的 opTemplateId 传入查询运营计划模板任务,获取返回的 data>>id |
| 2.8 | taskSubject | 任务主题 | string | — | Optional | 任务主题 |
| 2.9 | taskTag | 任务标签 | string | — | Optional | 任务标签,自由字符串 |
| 2.10 | remark | 任务备注 | string | — | Optional | 任务备注 |
| 2.11 | taskStatus | 任务状态 | integer | — | Optional | 任务状态 0:未开始 1:进行中 2:已完成 3:已取消 |
| 2.12 | taskContent | 任务内容 | string | — | Optional | 任务内容 |
| 2.13 | deliverContent | 交付内容 | string | — | Optional | 交付内容 |
| 3 | planTargetDTOList | 创建计划时一并新增的目标指标 | array<object> | — | Optional | 创建计划时一并新增的目标指标 |
| 3.1 | targetKey | 指标编码 | string | — | Required | 指标编码,见附加说明 |
| 3.2 | targetDetail | targetDetail | string | — | Optional | sale、salesVolume、orderQuantity 必传 sum 或 avg;其他指标传空字符串或不传 |
| 3.3 | targetValue | 指标值 | string | — | Required | 指标值,数字字符串且不能带 % |
| 3.4 | targetType | 指标分类 | integer | — | Optional | 指标分类 1:销售指标 2:广告指标 |
| 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 | a0d54debf93140f3b58d1ed81e8e3583 | Required | 请求链路 id |
| 5 | response_time | 响应时间 | string | 2026-08-18 12:00:00 | Required | 响应时间 |
| 6 | data | 无业务返回数据 | object | — | Required | 无业务返回数据 |
| 7 | total | 总记录数 | integer | 0 | Required | 总记录数 |
The 商品维度 - 创建运营计划 API (/basicOpen/product/operationPlan/add) 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.