/basicOpen/promotionalActivities/manage/list{
"operation": {
"method": "POST",
"path": "/basicOpen/promotionalActivities/manage/list"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "90930764718445a4af61b88a655ef10b.1694510506428",
"response_time": "2023-09-12 17:21:47",
"data": [
{
"name": "sss测试",
"sid": 31,
"promotion_type": 4,
"currency_icon": "JP¥",
"origin_status": "EXPIRED",
"promotion_code": "不需要",
"sales_amount": "0.00",
"sales_volume": "0",
"participate_condition": "At least this quantity of items\n80",
"participate_condition_num": "80",
"buyer_gets": "Percent off\n1",
"buyer_gets_num": "1",
"purchase_product": "测试1",
"discount_product": "测试1",
"exclude_product": "",
"exchange_limit": "0",
"promotion_start_time": "2023-01-10 10:00:00",
"promotion_end_time": "2023-01-10 23:59:00",
"first_sync_time": "2023-02-22 11:53:04",
"last_sync_time": "2023-02-23 17:34:32",
"remark": ""
}
],
"total": 1
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | start_date | 开始日期【活动时间】 | string | — | 可选 | 开始日期【活动时间】,站点时间,闭区间,格式:Y-m-d,时间间隔最长不超过90天 |
| 2 | end_date | 结束日期【活动时间】 | string | — | 可选 | 结束日期【活动时间】,站点时间,闭区间,格式:Y-m-d,时间间隔最长不超过90天 |
| 3 | sids | 店铺id | array<any> | — | 可选 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 4 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 5 | length | 分页长度 | integer | — | 可选 | 分页长度,默认20,上限200 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | 77ac259a67d5462594c83b80669b6eae.1692331008758 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-08-18 11:56:49 | 必填 | 响应时间 |
| 6 | total | 总数 | integer | 200 | 必填 | 总数 |
| 7 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 7.1 | promotion_id | 促销活动id | string | — | 必填 | 促销活动id |
| 7.2 | name | 内部描述 | string | Save $1 on swi... VPC-1-138675244 Coupon | 必填 | 内部描述 |
| 7.3 | sid | 店铺id | integer | 2 | 必填 | 店铺id |
| 7.4 | promotion_type | 活动类型 | integer | 4 | 必填 | 活动类型: 3 买一赠一 4 购买折扣 5 一口价 8 社媒促销 |
| 7.5 | currency_icon | 货币icon | string | — | 必填 | 货币icon |
| 7.6 | origin_status | 活动状态 | string | EXPIRED | 必填 | 活动状态: ACTIVE 进行中 CANCELED 已取消 EXPIRED 已过期 PENDING 未开始 |
| 7.7 | promotion_code | 优惠码 | string | 不需要 | 必填 | 优惠码 |
| 7.8 | sales_amount | 活动总销售额 | string | 0 | 必填 | 活动总销售额 |
| 7.9 | sales_volume | 活动总销量 | string | 0 | 必填 | 活动总销量 |
| 7.10 | participate_condition | 参与条件 | string | At least this quantity of items\n80 | 必填 | 参与条件 |
| 7.11 | participate_condition_num | 参与条件数值 | string | 0 | 必填 | 参与条件数值 |
| 7.12 | buyer_gets | 买家获得 | string | Percent off\n1 | 必填 | 买家获得 |
| 7.13 | buyer_gets_num | 买家获得值 | string | 0 | 必填 | 买家获得值 |
| 7.14 | purchase_product | 需购买商品 | string | 足球 | 必填 | 需购买商品 |
| 7.15 | discount_product | 优惠商品 | string | 计算机 | 必填 | 优惠商品 |
| 7.16 | exclude_product | 排除商品 | string | 遥控器 | 必填 | 排除商品 |
| 7.17 | exchange_limit | 是否限制兑换 | integer | 0 | 必填 | 是否限制兑换: 1 是 0 否 |
| 7.18 | promotion_start_time | 活动开始时间【站点时间】 | string | 2022-08-26 02:00:00 | 必填 | 活动开始时间【站点时间】 |
| 7.19 | promotion_end_time | 活动结束时间【站点时间】 | string | 2022-08-26 23:00:59 | 必填 | 活动结束时间【站点时间】 |
| 7.20 | first_sync_time | 首次同步时间【站点时间】 | string | 2022-10-11 10:17:26 | 必填 | 首次同步时间【站点时间】 |
| 7.21 | last_sync_time | 最后同步时间【站点时间】 | string | 2022-10-11 10:17:26 | 必填 | 最后同步时间【站点时间】 |
| 7.22 | remark | 备注 | string | — | 必填 | 备注 |
领星ERP的接口:查询促销活动列表 - 管理促销(/basicOpen/promotionalActivities/manage/list),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。