应用名称:東息ERP应用AppId:10001475
ClientId:a5bcf5ee8045c4533c
相关文档地址:
【查询优惠券/码活动列表接口】https://doc.youzanyun.com/detail/API/0/159
【获取优惠券/码活动详情接口】 https://doc.youzanyun.com/detail/API/0/154
【活动详情查询接口】https://doc.youzanyun.com/detail/API/0/3518
问题描述:调用上面提到的【查询优惠券/码活动列表接口】返回了店铺所有优惠券, 但是用返回的优惠券id调用【获取优惠券/码活动详情接口】或 【活动详情查询接口】返回的结果却是空的,这是为什么。
日志:
1. 查询优惠券/码活动列表接口返回: {"traceId":"yz7-0ad26a58-1663579545505-574259","code":200,"data":{"groups":[{"groupType":7,"totalQty":10000,"stockQty":9998,"description":"测3\n活动时间:2022-09-19 11:08:19 到 2022-09-20 11:08:19\n优惠内容:全部商品可用,满3件可用,减免500.00元优惠券","denominations":50000,"discount":0,"totalFansTaked":0,"title":"测3","fixedTerm":0,"isForbidPreference":0,"createdAt":1663556922000,"preferentialType":1,"dateType":1,"userLevel":0,"expireNotice":0,"validEndTime":1663643299000,"id":20212029,"rangeType":"all","validStartTime":1663556899000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=zr2dpxlm&sign=bdff9b583d21bd8df93f2513b3b3cdc8","condition":0,"totalUsed":0,"isShare":0,"isLimit":0,"rangeValue":"","totalTake":2},{"groupType":7,"totalQty":10000,"stockQty":9998,"description":"测2\n活动时间:2022-09-19 11:07:51 到 2022-09-20 11:07:51\n优惠内容:全部商品可用,满2件可用,减免300.00元优惠券","denominations":30000,"discount":0,"totalFansTaked":0,"title":"测2","fixedTerm":0,"isForbidPreference":0,"createdAt":1663556890000,"preferentialType":1,"dateType":1,"userLevel":0,"expireNotice":0,"validEndTime":1663643271000,"id":20212020,"rangeType":"all","validStartTime":1663556871000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=pwtrv04l&sign=534de1bf7d1c8939cddae28291d3990c","condition":0,"totalUsed":0,"isShare":0,"isLimit":0,"rangeValue":"","totalTake":2},{"groupType":7,"totalQty":10000,"stockQty":9998,"description":"优惠券\n活动时间:2022-09-19 10:57:58 到 2022-09-20 10:57:58\n优惠内容:全部商品可用,满1件可用,减免200.00元优惠券","denominations":20000,"discount":0,"totalFansTaked":0,"title":"测1","fixedTerm":0,"isForbidPreference":0,"createdAt":1663556694000,"preferentialType":1,"dateType":1,"userLevel":0,"expireNotice":0,"validEndTime":1663642678000,"id":20211973,"rangeType":"all","validStartTime":1663556278000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=16bnk7r1r&sign=de0a4755f82515fcc895c35361dc952c","condition":0,"totalUsed":0,"isShare":0,"isLimit":0,"rangeValue":"","totalTake":2},{"groupType":7,"totalQty":10000,"stockQty":10000,"description":"优惠券\n活动时间:2022-09-16 20:23:37 到 2022-09-17 20:23:37\n优惠内容:全部商品可用,满100元可用,减免20元优惠券","denominations":2000,"discount":0,"totalFansTaked":0,"title":"优惠券","fixedTerm":0,"isForbidPreference":0,"createdAt":1663331038000,"preferentialType":1,"dateType":1,"userLevel":0,"expireNotice":0,"validEndTime":1663417417000,"id":20189194,"rangeType":"all","validStartTime":1663331017000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=lsuu9l7p&sign=e0ecac13c1c2e661e54396a64f8cc152","condition":10000,"totalUsed":0,"isShare":0,"isLimit":0,"rangeValue":"","totalTake":0},{"groupType":7,"totalQty":10,"stockQty":10,"description":"一件减200\n活动时间:2022-09-16 16:17:43 到 2022-09-16 23:59:59\n优惠内容:全部商品可用,满1件可用,减免200.00元优惠券","denominations":20000,"discount":0,"totalFansTaked":0,"title":"测一件减200","fixedTerm":0,"isForbidPreference":0,"createdAt":1663316371000,"preferentialType":1,"dateType":1,"userLevel":0,"expireNotice":0,"validEndTime":1663343999000,"id":20186791,"rangeType":"all","validStartTime":1663316263000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=15jsocjqv&sign=2a48d5fa6af2e37a581b8f1e2764bb80","condition":0,"totalUsed":0,"isShare":0,"isLimit":3,"rangeValue":"","totalTake":0},{"groupType":7,"totalQty":10000,"stockQty":9995,"description":"100\n活动时间:领券当日起365天内可用\n优惠内容:部分商品可用,满1件可用,减免100.00元优惠券","denominations":10000,"discount":0,"totalFansTaked":0,"title":"100","fixedTerm":365,"isForbidPreference":0,"createdAt":1661847099000,"preferentialType":1,"dateType":2,"userLevel":0,"expireNotice":0,"validEndTime":4102416000000,"id":20002614,"validStartTime":1661847099000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=1aprmwlz9&sign=519cee3a3c113e4f4c8b89123b068cb7","condition":0,"totalUsed":0,"isShare":1,"isLimit":0,"totalTake":5},{"groupType":7,"totalQty":1000,"stockQty":1000,"description":"100元优惠券\n活动时间:领券当日起365天内可用\n优惠内容:全部商品可用,满任意金额可用,减免1.00元优惠券","denominations":100,"discount":0,"totalFansTaked":0,"title":"100元优惠券","fixedTerm":365,"isForbidPreference":0,"createdAt":1661510447000,"preferentialType":1,"dateType":2,"userLevel":0,"expireNotice":0,"validEndTime":4102416000000,"id":19965437,"rangeType":"all","validStartTime":1661510447000,"kdtId":111414211,"isSyncWeixin":0,"valueRandomTo":0,"isInvalid":0,"fixedBeginTerm":0,"url":"https://shop111606379.youzan.com/v2/ump/promocard/fetch?alias=178ii4tet&sign=633bebb01c97202b0b875a5ef28ec0e5","condition":100,"totalUsed":0,"isShare":0,"isLimit":0,"rangeValue":"","totalTake":0}],"total":7},"message":"successful","success":true}
2. 获取优惠券/码活动详情接口参数: id: 20211973
返回结果: {"traceId":"yz7-0a34f818-1663579738093-795544","code":200,"data":{},"message":"successful","success":false};
3. 活动详情查询接口参数: activity_id: 20211973,
返回结果: {"traceId":"yz7-0a34f82b-1663579633492-884507","code":200,"message":"successful","success":true}
|