4.8会员优惠券-已获取优惠券列表

已获取优惠券列表

接口说明
适用对象:开放应用
接口路由:member/member/get-list
请求方式:GET

请求参数
参数
类型
是否必填
最大长度
描述
示例
member_id
int

11
指定会员ID
312
status
int

1
过滤状态 1: 可使用 2: 已使用 3: 已过期

page
int

11
分页
1
pagesize
int

11
每页数量
20

请求示例

响应参数
参数
类型
是否必填
最大长度
描述
示例
error
int

11
错误码
0
total
int

11
总数

list
array

-
数据列表

page
int

11
分页

page_size
int

11
每页数量

list.响应参数
参数
类型
是否必填
最大长度
描述
示例
id
int

11
记录ID
1
coupon_id
int

11
优惠券ID
160
coupon_sale_type
int

11
优惠券类型 1满减券/2折扣券

title
string

-
优惠券名称

discount_price
float

11
优惠券优惠额度

enough
float

11
优惠券使用门槛

start_time
timestamp

-
优惠券有效时间左边界

end_time
timestamp

-
优惠券有效时间右边界

create_time
timestamp

-
优惠券领取时间

order_id
int

11
优惠券使用的订单的ID

order_no
string

32
订单号

source
int

1
来来源标识  0 后台发放   2新人发券 3满额发券 4购物发券   11免费 12付费  13链接  20 活动领取 21积分商城兑换

coupon_sale_limit
int

1
优惠使用限制 0无限制 1不予会员折扣同享

goods_limit
int

1
商品使用限制 0无限制 1允许以下产品使用 2不允许一下产品使用 3允许以下分类使用

status
int

1
使用状态

send_type
int

1
发放类型

show_time
timestamp

-
显示时间

quick_expiration
bool

-
是否快到期

is_free
int

1
是够免费

content
string

-
优惠内容


响应示例
JSON
复制代码
{
"error": 0,
"total": 1,
"list": [
{
"id": "2398",
"coupon_id": "125",
"coupon_sale_type": "1",
"title": "限制总963领10张",
"discount_price": "155.00",
"enough": "522.00",
"start_time": "2022-05-18 14:59:10",
"end_time": "2022-08-14 14:59:10",
"create_time": "2022-05-18 14:59:10",
"order_id": "0",
"order_no": "",
"source": "11",
"coupon_sale_limit": "0",
"goods_limit": "0",
"status": "0",
"send_type": "0",
"show_time": "2022-08-14",
"quick_expiration": false,
"is_free": "1",
"content": "满522元减155元"
}
],
"page": 1,
"page_size": 20
}

错误码
错误码
错误描述
解决方案
552033
参数错误 member_id不能为空
按照传入必填参数


Powered by www.sdsdsoft.com-© 2001-2024 微助 备案号鄂ICP备16018351号-2      微助学院 | 微助商城| 微助互动

联系我们
8年品牌,专注移动电商
扫码立即咨询
027-63376568
QQ:1010751194