简要描述:
- 店铺优惠券列表
请求URL:
POST/wapapi/addons/execute/addons/coupontype/controller/coupontype/action/goodsCouponList
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
goods_id_array | 是 | array | 商品id数组 |
返回示例:
正确时返回:
{
"code": 1,
"message":"获取成功",
"data": [
{
"coupon_type_id":1,
"coupon_name":"凉茶100-10",
"coupon_genre":1/2/3,//无门槛/金额券/折扣券
"shop_range_type":1, //优惠券适用范围,1:直营店,2:全平台
"at_least":100//满100可用
"money":10//金额类型满减多少
"discount":9//折扣类型打多少折
"start_time":时间戳
"end_time":时间戳
}
]
}
参数名 | 类型 | 说明 |
---|---|---|
coupon_type_id | int | 优惠券id |
coupon_name | string | 优惠券名称 |
coupon_genre | int | 优惠券类型,1/2/3,//无门槛/金额券/折扣券 |
shop_range_type | int | 优惠券适用范围,1:直营店,2:全平台 |
at_least | float | 满多少可用 |
money | float | 1,2类型的优惠金额 |
discount | float | 0.00-10.00折扣 |
start_time | int | 优惠券有效起始时间 |
end_time | int | 优惠券有效结束时间 |