Coupon(优惠券):
参数 | 参数注释 | 类型 | 是否非空 | 示例 | 说明 |
coupon_code | 编码 | long | Y | 123456123456 | |
coupon_name | 名称 | string | Y | 满100减20 | |
coupon_type | 类型 | int | Y | 1:满减券;2:运费券; | |
coupon_info | 描述 | text | N | ||
coupon_total | 发放张数 | int | Y | 100000 | 最大值=100000,修改优惠券总量时只能增加不能减少,请谨慎设置; |
coupon_used | 已发放张数 | int | Y | 0 | 系统默认值=0 |
coupon_user_num | 每人限领张数 | int | Y | 0 | 0表示无限制,最大值=发放张数; |
coupon_condition | 使用门槛 | int | Y | 100 | 0表示无门槛,类型="运费券"时,固定无门槛=0;类型="满减券"时,必须>0; |
coupon_discount | 抵扣金额(面额) | int | Y | 20 | 减免金额,必须>0,类型="满减券"时,=<使用门槛; |
coupon_use_type | 用券方式 | int | Y | 1:固定时间;2:领取后生效 | |
coupon_use_start_date | 用券-开始时间 | date | Y/N | 2023-01-01 00:00:00 | 有效期规则="固定时间"时,必填; |
coupon_use_end_date | 用券-结束时间 | date | Y/N | 2023-02-01 00:00:00 | 有效期规则="固定时间"时,必填; |
coupon_use_expiration_timestamp | 用券-效期 | int | Y/N | 86400 | x天h时m分s秒,如:1天0时0分 |
coupon_give_start_date | 领券/发券时间-开始时间 | date | Y/N | 2023-01-01 00:00:00 | |
coupon_give_end_date | 领券/发券时间-结束时间 | date | Y/N | 2023-02-01 00:00:00 | |
coupon_apply_souerce | 适用渠道 | int | Y | 1:全部渠道;2:门店 | |
coupon_apply_store | 适用门店 | int | Y/N | 1:全部门店;2:指定门店 | 适用渠道="门店"时,必填; |
coupon_apply_stores[] | 指定门店列表 | long array | Y/N | 适用门店="指定门店"时,必填; | |
coupon_sku_type | 适用商品 | int | Y | 1:全部商品;2:指定商品 | |
coupon_skus[] | 适用商品列表 | long array | Y/N | 适用商品="指定商品"时,必填; | |
coupon_is_open | 是否支持公开领取 | boolean | Y | true/false | 仅true时,用户可领取 |
coupon_status | 状态 | int | Y | 0:草稿;1:启用;2:禁用;3:已过期; | 仅启用状态可领券 |
create_date | 创建时间 | date | Y | ||
create_by | 创建人 | date | Y | ||
update_date | 更新时间 | date | Y | ||
update_by | 更新人 | date | Y | ||