{
"send_range": 3,
"send_range_data": [
983
],
"is_global": 0,
"is_show": 1,
"coupon_type": 1,
"is_new_user": 2,
"coupon_unit": 1,
"reduce_type": 2,
"send_type": 1,
"limit_user_rank": [
68,
69
],
"use_start_date": "2025-01-09 17:28:14",
"use_end_date": "2025-01-10 17:28:14",
"delay_day": 0,
"send_num": 1000,
"coupon_money": "99",
"coupon_discount": 8,
"min_order_amount": 100,
"max_order_amount": 0,
"limit_num": 0,
"coupon_name": "会员的优惠",
"coupon_desc": "11"
}curl --location --request POST '/adminapi/promotion/coupon/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"send_range": 3,
"send_range_data": [
983
],
"is_global": 0,
"is_show": 1,
"coupon_type": 1,
"is_new_user": 2,
"coupon_unit": 1,
"reduce_type": 2,
"send_type": 1,
"limit_user_rank": [
68,
69
],
"use_start_date": "2025-01-09 17:28:14",
"use_end_date": "2025-01-10 17:28:14",
"delay_day": 0,
"send_num": 1000,
"coupon_money": "99",
"coupon_discount": 8,
"min_order_amount": 100,
"max_order_amount": 0,
"limit_num": 0,
"coupon_name": "会员的优惠",
"coupon_desc": "11"
}'{
"code": 0,
"msg": "ok",
"data": {
"errcode": 0,
"message": "优惠券添加成功"
}
}