文档
测试

优惠活动列表

POST
/execute

请求头

参数名
类型
描述
必填
service
String
promotionService
必填
method
String
listPromotion
必填
version
String
1.0.0
必填
clientIp
String
IP
必填
accessToken
String
token
必填

请求参数

参数名
类型
描述
必填
activityId
string
档期ID
必填

响应参数

参数名
类型
描述
必填
list
array
数据列表
必填
templateId
string
示例:848215656494029056
必填
templateName
string
示例:满99减10
必填
templateDesc
string
示例:大牌体用(JOHLINJOHLIN&犸凯奴Makino)满99减10元优惠券(UD)
必填
ruleDesc
string
示例:大牌体用(JOHLINJOHLIN&犸凯奴Makino)满99减10元优惠券(UD)
必填
ruleType
int
规则类型:99-通用,90-档期,80-单品,70-组合
必填
discountType
int
折扣类型:1-满减,2-折扣,3-X件X元,4-X件X折
必填
discountValue
int
示例:1000 (单位分)
必填
useLimitFlag
int
示例:1,是否有门槛,1-yes, 0-no
必填
limitCount
int
示例:1000000(发放总量)
必填
minAmount
int
示例:9900(单位分)(门槛金额)
必填
periodType
int
示例:1 ,使用时间类型,1-区间
必填
startTime
int
示例:1621929600000(有效期始)
必填
endTime
int
示例:1622340000000(有效期止)
必填
activityId
string
示例:847809599573620480
必填

说明 / 示例

入参: ``` { "activityId":"847809599573620480" } ``` 出参 ``` { "success": true, "code": 200, "message": "处理成功", "data": { "pageNum": 1, "pageSize": 20, "rowCount": 2, "totalPage": 1, "hasNextPage": false, "list": [ { "templateId": "848215656494029056", "type": 1, "templateName": "满99减10", "templateDesc": "大牌体用(JOHLINJOHLIN&犸凯奴Makino)满99减10元优惠券(UD)", "ruleDesc": "大牌体用(JOHLINJOHLIN&犸凯奴Makino)满99减10元优惠券(UD)", "discountType": 1, "discountValue": 1000, "useLimitFlag": 1, "limitCount": 1000000, "minAmount": 9900, "periodType": 1, "startTime": 1621929600000, "endTime": 1622340000000, "activityId": "847809599573620480" }, { "templateId": "848215657169315584", "type": 1, "templateName": "满199减20", "templateDesc": "大牌体用(JOHLINJOHLIN&犸凯奴Makino)满199减20元优惠券(UD)", "ruleDesc": "大牌体用(JOHLINJOHLIN&犸凯奴Makino)满199减20元优惠券(UD)", "discountType": 1, "discountValue": 2000, "useLimitFlag": 1, "limitCount": 1000000, "minAmount": 19900, "periodType": 1, "startTime": 1621929600000, "endTime": 1622340000000, "activityId": "847809599573620480" } ] } } ```