/bd/goal/management/open/store/batchOperate{
"operation": {
"method": "POST",
"path": "/bd/goal/management/open/store/batchOperate"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 10,
"text": ""
},
"requestExample": {
"assessYear": 2022,
"currencyCode": "原币种",
"operateType": 1,
"goalList": [
{
"sid": 1,
"amount1": 953,
"amount2": 153,
"amount3": 726,
"amount4": 442,
"amount5": 633,
"amount6": 439,
"amount7": 567,
"amount8": 384,
"amount9": 455,
"amount10": 589,
"amount11": 313,
"amount12": 385
}
]
},
"responseExample": {
"code": 1,
"msg": "操作成功",
"data": [
{
"sid": 1,
"reason": "店铺目标已存在"
}
],
"traceId": "4f7d4a69b6a54f9898881c70f60a5dd9.1670328817111",
"success": true
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | assessYear | 目标年份(只允许去年、今年、明年) | integer | — | 必填 | 目标年份(只允许去年、今年、明年) |
| 2 | currencyCode | currencyCode | string | — | 必填 | 币种【仅支持USD、EUR、GBP、CNY、JPY、原币种】 |
| 3 | operateType | 操作类型 | integer | — | 必填 | 操作类型: 1 仅新增 2 新增并更新 |
| 4 | goalList | 目标列表 | array<object> | — | 必填 | 目标列表 |
| 4.1 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 4.2 | amount1 | 1月目标 | number | — | 必填 | 1月目标 |
| 4.3 | amount2 | 2月目标 | number | — | 必填 | 2月目标 |
| 4.4 | amount3 | 3月目标 | number | — | 必填 | 3月目标 |
| 4.5 | amount4 | 4月目标 | number | — | 必填 | 4月目标 |
| 4.6 | amount5 | 5月目标 | number | — | 必填 | 5月目标 |
| 4.7 | amount6 | 6月目标 | number | — | 必填 | 6月目标 |
| 4.8 | amount7 | 7月目标 | number | — | 必填 | 7月目标 |
| 4.9 | amount8 | 8月目标 | number | — | 必填 | 8月目标 |
| 4.10 | amount9 | 9月目标 | number | — | 必填 | 9月目标 |
| 4.11 | amount10 | 10月目标 | number | — | 必填 | 10月目标 |
| 4.12 | amount11 | 11月目标 | number | — | 必填 | 11月目标 |
| 4.13 | amount12 | 12月目标 | number | — | 必填 | 12月目标 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 1 | 必填 | 状态码,1 成功 |
| 2 | msg | 返回消息 | string | 操作成功 | 必填 | 返回消息 |
| 3 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 3.1 | sid | 店铺id | number | 1 | 必填 | 店铺id |
| 3.2 | reason | 失败原因【返回操作失败对应数据的失败原因】 | string | 店铺目标已存在 | 必填 | 失败原因【返回操作失败对应数据的失败原因】 |
| 4 | traceId | 请求链路id | string | 4f7d4a69b6a54f9898881c70f60a5dd9.1670328817111 | 必填 | 请求链路id |
领星ERP的接口:店铺维度 - 新增/更新目标(/bd/goal/management/open/store/batchOperate),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。