优惠卷设置接口
POST
接口描述
店铺设置优惠卷接口
请求参数
参数名
类型
描述
必填
cardName
string
卡片名称
必填
shopId
string
店铺ID
必填
money
double
优惠金额
必填
num
int
卡卷数量
必填
startTime
string
起始时间
必填
endTime
string
结束时间
必填
expiryDate
string
卡卷有限期
必填
cardType
int
卡片类型 0-新客优惠卷 1-普通优惠卷 2-复购优惠卷
必填
getType
int
获取类型 0-手动领取 1-下单发放 2-收货发放
必填
publicType
int
公开类型 0-公开领取 1-分享领取
必填
orderMount
double
订单要求金额
必填
limitNum
int
限领数量
必填
associatedGoodsId
string
关联商品ID
必填
cardImg
string
卡片图片
必填
响应参数
参数名
类型
描述
必填
code
int
响应状态
必填
msg
string
响应描述
必填
data
list
响应列表
必填