Skip to content

优惠券列表

历史版本

请求路径

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

请求参数

参数名必选类型说明
coupon_namestring优惠券名称(模糊搜索)
typeinteger优惠券类型(1-随机立减券,2-满减券,3-折扣券,4-奖品兑换券)
pageinteger页码
page_sizeinteger每页数量

请求示例

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

响应参数

参数必选类型描述
codeinteger状态码:200-成功,400-失败
msgstring提示信息
dataobject消息内容

data 参数结构

参数必选类型描述
totalinteger优惠券列表总数
listarray优惠券列表

list 参数结构

参数必选类型描述
idinteger优惠券id
namestring优惠券名称
typeinteger优惠券类型(1-随机立减券,2-满减券,3-折扣券,4-奖品兑换券)
statusinteger优惠券状态(1进行中,2停止中,3未开始,4已失效,5已删除)
free_stockinteger免费渠道库存
total_numberinteger优惠券总数量
receiveinteger已领取数量
promotion_contentstring优惠内容
time_limit_contentstring优惠券使用时间

响应示例

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"
      }
    ]
  }
}