添加优惠券
POST
http://shop.com/wxapp.php?s=/ApiCoupon/add_coupon_info
接口描述
添加/修改优惠券
请求参数
参数名
类型
描述
必填
token
token
必填
credit
优惠金额
必填
limit_money
满多少可以用
必填
total_count
发放数
必填
timelimit
0 获得后,1在日期
必填
begin_time
开始时间,字符串
必填
end_time
结束时间,字符串
必填
is_index_show
是否推荐首页,供用户领取
必填
is_new_man
是否新人券,0非,1新人
必填
is_limit_goods_buy
是否限制商品购买,0不限制,1限制,指定商品为1,商品分类为2
必填
limit_goods_list
指定商品id,逗号分割的字符串
必填
goodscates
商品分类id
必填
voucher_title
优惠券名称
必填
person_limit_count
每人限领数量,0表示不限制
必填
catid
优惠券分类
必填
id
id,修改时候传递
必填
get_over_hour
使用时间限制后,如果选择获取后多少天过期,这里填写天数
必填
返回参数
参数名
类型
描述
必填
code
状态码
必填
msg
提示信息
必填