Skip to content

优惠券列表 ​

历史版本 ​

请求路径 ​

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://gateway.nuoyunapi.com/Api/Coupon/couponList/2.0.0
  • 频率限制:10秒100次

请求参数 ​

参数名必选类型说明
coupon_name否string优惠券名称(模糊搜索)
coupon_type否integer优惠券类型(1-随机立减券,2-满减券,3-折扣券,4-奖品兑换券)
page是integer页码
page_size是integer每页数量

请求示例 ​

json
{
  "coupon_name": "优惠券名称",
  "coupon_type": 1,
  "page": 1,
  "page_size": 10
}

响应参数 ​

参数必选类型描述
code是integer状态码:200-成功,400-失败
msg是string提示信息
data是object消息内容

data 参数结构 ​

参数必选类型描述
total是integer优惠券列表总数
list是array优惠券列表

list 参数结构 ​

参数必选类型描述
id是integer优惠券id
name是string优惠券名称
type是integer优惠券类型(1-随机立减券,2-满减券,3-折扣券,4-奖品兑换券)
status是integer优惠券状态(1进行中,2停止中,3未开始,4已失效,5已删除)
free_stock是integer免费渠道库存
total_number是integer优惠券总数量
receive是integer已领取数量
promotion_content是string优惠内容
time_limit_content是string优惠券使用时间

响应示例 ​

json
{
  "code": 200,
  "msg": "Success",
  "data": {
    "total": 166,
    "list": [
      {
        "id": 2375,
        "name": "11",
        "type": 4,
        "status": 1,
        "free_stock": 11,
        "total_number": 11,
        "receive": 0,
        "promotion_content": "免费领取,线下核销",
        "time_limit_content": "2025.05.08-2025.05.09"
      }
    ]
  }
}