優惠券接口數據描述

10.1可領取優惠券列表接口

  • 請求路徑:com/smallprogapi/Coupon/GetLoadSiteCoupon

 

  • 請求參數:

?

參數名稱 必填 參數值說明 格式要求
openId OpenID String
pageSize 每頁數量 int
pageIndex 頁數
obtainWay 類型(0:主動領取?1:指定發放?2:積分兌換)

?

  • 返回值說明:Json格式
返回結果:

{"success":true,"msg":"","code":0,"data":{"total":4,"Data":[{"CouponId":160,"CouponName":"test1","Price":6.0,"SendCount":6,"UserLimitCount":0,"OrderUseLimit":0.0,"StartTime":"2017.10.27","ClosingTime":"2017.11.27","ObtainWay":0,"NeedPoint":0,"UseArea":1,"Remark":null},{"CouponId":157,"CouponName":"10","Price":10.0,"SendCount":1111,"UserLimitCount":0,"OrderUseLimit":100.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","ObtainWay":0,"NeedPoint":0,"UseArea":0,"Remark":null},{"CouponId":157,"CouponName":"10","Price":10.0,"SendCount":1111,"UserLimitCount":0,"OrderUseLimit":100.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","ObtainWay":0,"NeedPoint":0,"UseArea":0,"Remark":null},{"CouponId":157,"CouponName":"10","Price":10.0,"SendCount":1111,"UserLimitCount":0,"OrderUseLimit":100.0,"StartTime":"2017.10.24","ClosingTime":"2017.11.24","ObtainWay":0,"NeedPoint":0,"UseArea":0,"Remark":null}]}}

?

返回結果參數說明:

?

字段名稱 字段編碼 數據類型 是否可空 備注
總量 totalCount INT
數據 Data json

數據列表?Data

字段名稱 字段編碼 數據類型 是否可空 備注
優惠券ID CouponId Int
優惠券名稱 CouponName string
優惠價值 Price decimal
發放總量 SendCount int
用戶限領數量 UserLimitCount int
訂單使用條件 OrderUseLimit decimal
開始時間 StartTime datetime
結束時間 ClosingTime datetime
可使用商品 CanUseProducts string
領取方式 ObtainWay int 0:主動領取?1:指定發放?2:積分兌換
需要積分 NeedPoint int
更多
  • 該日志由 于2020年05月30日發表在 未分類 分類下, 你可以發表評論,并在保留原文地址 及作者的情況下引用到你的網站或博客。
  • 本文鏈接: 優惠券接口數據描述 | 幫助信息-動天數據
  • 版權所有: 幫助信息-動天數據-轉載請標明出處
  • 【上一篇】 【下一篇】

    0 Comments.