Skip to content

优惠券列表

接口路径

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:/Third/Coupon/couponList
  • 频率限制:10秒100次

请求参数

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

请求示例

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

响应参数

参数必选类型描述
codeinteger响应码
msgstring响应信息
dataobject消息内容

data 参数结构

参数必选类型描述
totalinteger优惠券列表总数
listobject[]优惠券列表

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