简要描述:
- 优惠券列表
请求URL:
POST/wapapi/goods/get_shopcounp_list
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
shop_id | 必填 | int | 店铺ID |
返回示例:
正确时返回:
{
"code": "0",
"data": [
{
"coupon_type_id": 15,
"shop_id": 0,
"shop_range_type": 1,
"coupon_genre": 2,
"coupon_name": "特仑苏满减优惠券",
"money": "11.00",
"count": 20,
"max_fetch": 1,
"discount": "0.00",
"at_least": "100.00",
"need_user_level": 0,
"range_type": 0,
"start_time": 1524204288,
"end_time": 1546105090,
"create_time": 0,
"update_time": 0,
"start_receive_time": 1524204284,
"end_receive_time": 1546105090,
"is_show": 0,
"is_fetch": 1,
"website_id": 9,
"desc": "platform-优惠券-满减-所有商品",
"use_num": 3,
"use_percent": "17.65%"
}
],
"message": "获取成功"
}
错误时返回:
{
"code": -1,
"message": "领取失败"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
coupon_type_id | int | 优惠券ID |
shop_id | int | 店铺ID |
coupon_genre | int | 优惠券类型,1-无门槛,2-满减,3-折扣 |
coupon_name | string | 优惠券名称 |
money | string | 发放面额 |
count | int | 发放数量 |
use_num | int | 已领取数量 |
use_percent | int | 已抢优惠券 |
max_fetch | int | 每人最大领取个数 0无限制 |
discount | decimal | 10.00不打折,0.00免费 |
at_least | int | 满多少元使用 |
need_user_level | string | 领取人会员等级 |
range_type | int | 使用范围0部分产品使用 1全场产品使用 |
start_time | int | 有效日期开始时间 |
end_time | int | 有效日期结束时间 |
start_receive_time | int | 开始领券时间 |
end_receive_time | int | 最后领券时间 |
desc | string | 优惠券说明 |