文档中心> 开发文档> 接口列表> 促销API> dangdang.activity.cr...
dangdang.promotions....
查询促销列表信息
dangdang.promotion.g...
查看促销详细信息
dangdang.promotion.i...
修改商品类型
dangdang.promotions....
批量更新促销结束时间
dangdang.promotions....
发布“直降”促销活动
dangdang.promotions....
修改“直降”促销活动
dangdang.activity.fi...
根据各种条件查询活动...
dangdang.activity.fi...
根据促销id查询详情
dangdang.activity.fi...
查询促销数量
dangdang.activity.fi...
根据品id查促销
dangdang.activity.ad...
添加例外品接口
dangdang.activity.si...
单个取消促销接口
dangdang.activity.mo...
修改促销时间
dangdang.activity.ac...
审核通过
dangdang.activity.re...
审核不通过
dangdang.activity.fi...
查询审核日志
dangdang.activity.mo...
修改促销价
dangdang.activity.ba...
批量取消促销
dangdang.activity.de...
删除例外品
dangdang.activity.de...
删除促销品
dangdang.activity.fi...
查找例外品
dangdang.activity.fi...
分页查找促销品
dangdang.activity.fi...
查找促销失败的品
dangdang.activity.mo...
修改促销
dangdang.activity.cr...
批量创建促销
接口入参包含两部分:
第一部分:url上?后边跟shopId=?(商家店铺id)
第二部分:以表单形式提交post请求,表单中只有一个键值对,name=stringEntity,value的说明如下:
这是个jsonArray,每个jsonObject包含了促销的基本信息,条件优惠信息,以及参与促销的商品信息。如果要创建多个促销请写多个jsonObject
[
{
"id": 0,//促销id,创建时写0
"shopId": 15201,//创建者所在店铺id
"activityName": "促销名字-测试",//促销名字
"activityType": "COMMON_PROMO",//固定值,COMMON_PROMO代表日常促销
"activitySubType": 225,//促销类型,每种促销类型都有对应的条件和优惠规则,以及商品提报规则。
"startDate": 14824010210000,//促销开始时间,毫秒值
"endDate": 14824010210010,//促销结束时间,毫秒值
"createdBy": "50000327",//创建者
"lastChangedBy": "50000327",//最后修改者
"dimensionSets": [//当当将用户分成不同的群体,分组的依据被称为dimensionSet。每个dimensionSet对应不同的条件和优惠信息。
//本节点是个jsonArray,每个jsonObject要包含维度(即分组的依据),条件和优惠信息
//目前只有区域促销228实现了此功能,因此只有在促销类型228下,这个数组的大小才会大于1.
//一般情况下,本节点只有一个jsonObject,并且dimensions=null
{
"autoRoll": false,//是否滚动。"滚动"适用于满额减,N元场。举例说明:“满100减20支持滚动,滚动次数3次”意味着"满200减40,满300减60"
"maxRollTimes":0,//最大滚动次数,autoRoll等于true的情况下,此节点有意义。autoRoll等于false的情况下,此节点写0即可
"qualificationBenefitDtos": [//每一阶对应的,条件和优惠信息。
{
"qualifications": [//当前阶对应的条件信息,条件有满足多少件(enumCode=1)和满足多少元(enumCode=2)
{
"value": "54.0",//enumCode=1时,代表件数;enumCode=2时,代表元;enumCode=3时,不填。
"enumCode": 1//1代表满足多少件,2代表满足多少元,3代表无条件
}
],
"benefits": [//当前阶对应的优惠信息
{
"value": "54.0",//1,2代表元,3代表折扣(8折此处写80),4代表“赠品id,换购价,数量“,换购促销(28,229)有换购价,没有换购价写0
"enumCode": 2//1代表减价,2代表减至,3代表打折(%),4代表赠品,6代表无优惠
}
],
"step": 1//第一阶,“阶”的含义,例:有促销“满100减20,满200减50“,满100减20就是第一阶,满200减50就是第二阶
},
{
"qualifications": [
{
"enumCode": 3
}
],
"benefits": [
{
"value": "57.0",
"enumCode": 2
}
],
"step": 2
}
],
"dimensions":[//非区域卖场填null
{
"dimensionType":"district",
"dimensionValue":"111"
}
],
"activityProducts": [//商品的提报形式与促销类型相关,限时抢(102),区域卖场(228)和秒杀(230)促销的品挂在这个节点下,其余促销挂在与dimensionSets平级的节点下。
{
"activityId": 0,//关联的促销id,创建时写0
"dimensionSetId": 0,//dimensionSet Id,创建的时候写0
"productId": 1079058324,//商品id
"productReviewStatus": "WITHOUT_REVIEW",//未审核标识,固定值WITHOUT_REVIEW
"directPrice": 30,//抢购价
"tryTime": 0,//固定值,写0
"minBuyN": 0,//最少购买数量
"maxBuyN": 22,//最多限购数量
"shopId": 15201,//品的店铺id
"activityProductBatchId": 0,//固定值,写0
"mainProductId": 0//商品的spuId,创建的时候写0,有系统查询接口补上这个值。
},
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079058424,
"productReviewStatus": "WITHOUT_REVIEW",
"directPrice": 30,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 22,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0
}
]
}
],
"promoAttributeDto": {//促销附加的属性
"limitScope": "SKU",//限购范围。固定值“SKU”
"localDelivery": false,//是否本地仓发货,只对区域卖场促销有意义。其他促销写false
"autoEbook": false//是否赠送同名电子书
},
"activityProductBatch": {//代表了本次提报品的批次
"operationType": "ADD_PRODUCT",//创建的时候写ADD_PRODUCT,代表新增品
"userId": "50000327",//用户id
"status": 0//固定值,0代表未审核
},
"activityProducts": [//提报的促销品,含义同dimensionSet里的activityProducts
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053624,
"productReviewStatus": "WITHOUT_REVIEW",
"packageType": "MAIN_PRODUCT",//固定值,套餐促销任意选一个品为MAIN_PRODUCT,其他写成APPENDAGE_PRODUCT。其余促销为null
"tryTime": 0,
"minBuyN": 1,
"maxBuyN": 1,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053424,
"productReviewStatus": "WITHOUT_REVIEW",
"packageType": "APPENDAGE_PRODUCT",
"tryTime": 0,
"minBuyN": 2,
"maxBuyN": 2,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0
}
],
"activityProductGroups": [//按整个店铺设置促销,适用于店铺级满额减,店铺级满额折,店铺级满额赠.
{
"activityId": 0,//创建的时候写0
"productGroupType": "SHOP",//固定值SHOP
"productGroupValue": "15201"//店铺id,整个店铺都要参加促销
}
],
"activityProductExcepts": [//虽说整个店铺,但也有例外品。
{
"activityId": 0,//创建的时候写0
"productId": 1131074124,//例外品id
"mainProductId": 0//例外品的spuId
}
],
"activityCreateType": "Normal"//固定值Normal
}
]
提供了大部分促销类型的入参中表单name=stringEntity的value部分的示例。
1. 限时抢:
[
{
"id": 0,
"shopId": 15201,
"activityName": "限时抢促销测试",
"activityType": "COMMON_PROMO",
"activitySubType": 102,
"startDate": "Dec 30, 2017 6:22:00 PM",
"endDate": "Dec 31, 2017 6:22:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": true,
"maxRollTimes": 10000,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "1",
"enumCode": 1
}
],
"benefits": [
{
"value": "0",
"enumCode": 2
}
],
"step": 1
}
],
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079058324,
"productReviewStatus": "WITHOUT_REVIEW",
"directPrice": 30,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 22,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079058424,
"productReviewStatus": "WITHOUT_REVIEW",
"directPrice": 30,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 22,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079058624,
"productReviewStatus": "WITHOUT_REVIEW",
"directPrice": 28,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 11,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079058724,
"productReviewStatus": "WITHOUT_REVIEW",
"directPrice": 28,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 11,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityCreateType": "Normal"
}
]
2. 送赠品测试
[
{
"id": 0,
"shopId": 15201,
"activityName": "送赠品测试",
"activityType": "COMMON_PROMO",
"activitySubType": 3,
"startDate": "Dec 23, 2016 5:12:00 PM",
"endDate": "Dec 24, 2016 5:12:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": true,
"maxRollTimes": 10000,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "1",
"enumCode": 1
}
],
"benefits": [
{
"value": "1079048424,0,1\n1079048524,0,1\n",
"enumCode": 4
}
],
"step": 1
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079057924,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": 0,
"productId": 1079057624,
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
3. 多买多折测试
[
{
"id": 0,
"shopId": 15201,
"activityName": "多买多折扣测试",
"activityType": "COMMON_PROMO",
"activitySubType": 1,
"startDate": "Dec 25, 2017 5:16:00 PM",
"endDate": "Dec 26, 2017 5:16:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": true,
"maxRollTimes": 10000,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "1",
"enumCode": 1
}
],
"benefits": [
{
"value": "90.0",
"enumCode": 3
}
],
"step": 1
},
{
"qualifications": [
{
"value": "2",
"enumCode": 1
}
],
"benefits": [
{
"value": "70.0",
"enumCode": 3
}
],
"step": 2
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079058224,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079058524,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
4. 限量购
[
{
"id": 0,
"shopId": 15201,
"activityName": "限量购测试",
"activityType": "COMMON_PROMO",
"activitySubType": 5,
"startDate": "Dec 14, 2019 5:23:00 PM",
"endDate": "Dec 15, 2019 5:23:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "",
"enumCode": 3
}
],
"step": 1
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053224,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 3,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079052224,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 4,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
5. 集合级满额减
[
{
"id": 0,
"shopId": 15201,
"activityName": "商品满额减测试",
"activityType": "COMMON_PROMO",
"activitySubType": 20,
"startDate": "Dec 27, 2019 5:57:00 PM",
"endDate": "Dec 28, 2019 5:57:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "111.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "11.0",
"enumCode": 1
}
],
"step": 1
},
{
"qualifications": [
{
"value": "222.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "22.0",
"enumCode": 1
}
],
"step": 2
},
{
"qualifications": [
{
"value": "1222.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "33.0",
"enumCode": 1
}
],
"step": 3
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079054324,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053924,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
7. 集合级满额赠
[
{
"id": 0,
"shopId": 15201,
"activityName": "商品满额赠测试",
"activityType": "COMMON_PROMO",
"activitySubType": 201,
"startDate": "Dec 27, 2019 5:59:00 PM",
"endDate": "Dec 28, 2019 5:59:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "122.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "1079050124,0,1\n",
"enumCode": 4
}
],
"step": 1
},
{
"qualifications": [
{
"value": "333.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "1079049224,0,1\n",
"enumCode": 4
}
],
"step": 2
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079057624,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
8. 集合级满额折
[
{
"id": 0,
"shopId": 15201,
"activityName": "满额折测试",
"activityType": "COMMON_PROMO",
"activitySubType": 23,
"startDate": "Dec 23, 2016 6:01:00 PM",
"endDate": "Dec 24, 2016 6:01:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "111.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "90",
"enumCode": 3
}
],
"step": 1
},
{
"qualifications": [
{
"value": "222.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "80",
"enumCode": 3
}
],
"step": 2
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079054024,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053724,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
9. N元场
[
{
"id": 0,
"shopId": 15201,
"activityName": "N元场测试",
"activityType": "COMMON_PROMO",
"activitySubType": 206,
"startDate": "Dec 23, 2016 6:02:00 PM",
"endDate": "Dec 24, 2016 6:02:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "2",
"enumCode": 1
}
],
"benefits": [
{
"value": "10.0",
"enumCode": 2
}
],
"step": 1
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079058224,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079058524,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
10. 满N件折
[
{
"id": 0,
"shopId": 15201,
"activityName": "满N件折",
"activityType": "COMMON_PROMO",
"activitySubType": 207,
"startDate": "Dec 31, 2016 6:04:00 PM",
"endDate": "Jan 1, 2017 6:04:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "5",
"enumCode": 1
}
],
"benefits": [
{
"value": "90",
"enumCode": 3
}
],
"step": 1
},
{
"qualifications": [
{
"value": "8",
"enumCode": 1
}
],
"benefits": [
{
"value": "80",
"enumCode": 3
}
],
"step": 2
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079054124,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079054024,
"productReviewStatus": "WITHOUT_REVIEW",
"tryTime": 0,
"minBuyN": 0,
"maxBuyN": 0,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
11. 店铺级满额减
[
{
"id": 0,
"shopId": 15201,
"activityName": "店铺级满额减测试",
"activityType": "COMMON_PROMO",
"activitySubType": 14,
"startDate": "Dec 23, 2016 6:06:00 PM",
"endDate": "Dec 24, 2016 6:06:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "111.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "2.0",
"enumCode": 1
}
],
"step": 1
},
{
"qualifications": [
{
"value": "333.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "4.0",
"enumCode": 1
}
],
"step": 2
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProductGroups": [
{
"activityId": 0,
"productGroupType": "SHOP",
"productGroupValue": "15201",
"deleted": false
}
],
"activityProductExcepts": [
{
"activityId": 0,
"productId": 1131074124,
"mainProductId": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
12. 店铺级满额赠
[
{
"id": 0,
"shopId": 15201,
"activityName": "店铺级满额赠测试",
"activityType": "COMMON_PROMO",
"activitySubType": 12,
"startDate": "Jan 7, 2017 6:07:00 PM",
"endDate": "Jan 8, 2017 6:07:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"value": "111.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "1066262524,0,1\n",
"enumCode": 4
}
],
"step": 1
},
{
"qualifications": [
{
"value": "222.0",
"enumCode": 2
}
],
"benefits": [
{
"value": "1065971024,0,1\n",
"enumCode": 4
}
],
"step": 2
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProductGroups": [
{
"activityId": 0,
"productGroupType": "SHOP",
"productGroupValue": "15201",
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
13. 套餐
[
{
"id": 0,
"shopId": 15201,
"activityName": "套餐测试",
"activityType": "COMMON_PROMO",
"activitySubType": 225,
"startDate": "Dec 23, 2016 6:09:00 PM",
"endDate": "Dec 31, 2016 6:09:00 PM",
"createdBy": "50000327",
"lastChangedBy": "50000327",
"dimensionSets": [
{
"autoRoll": false,
"qualificationBenefitDtos": [
{
"qualifications": [
{
"enumCode": 3
}
],
"benefits": [
{
"value": "54.0",
"enumCode": 2
}
],
"step": 1
}
]
}
],
"promoAttributeDto": {
"promoLimitbuy": false,
"limitScope": "SKU",
"localDelivery": false,
"autoEbook": false
},
"activityProductBatch": {
"operationType": "ADD_PRODUCT",
"userId": "50000327",
"status": 0,
"deleted": false
},
"activityProducts": [
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053624,
"productReviewStatus": "WITHOUT_REVIEW",
"packageType": "MAIN_PRODUCT",
"tryTime": 0,
"minBuyN": 1,
"maxBuyN": 1,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
},
{
"activityId": 0,
"dimensionSetId": -1,
"productId": 1079053424,
"productReviewStatus": "WITHOUT_REVIEW",
"packageType": "APPENDAGE_PRODUCT",
"tryTime": 0,
"minBuyN": 2,
"maxBuyN": 2,
"shopId": 15201,
"activityProductBatchId": 0,
"mainProductId": 0,
"salesQuantityLimit": 0,
"cancleSalesLimit": 0,
"deleted": false
}
],
"activityCreateType": "Normal"
}
]
Copyright © 当当网 2004-2012, All Rights Reserved