{
"id": 4,
"promotion_type": 1,
"start_time": "2025-07-21 00:00:00",
"end_time": "2025-08-21 23:59:59",
"promotion_name": "不含指定商品的活动",
"limit_user_rank": [
1
],
"range": 4,
"range_data": [
123,
424,
339,
1
],
"promotion_type_data": [
{
"min_amount": 100,
"reduce": 20
},
{
"min_amount": 150,
"reduce": 50
}
],
"rules_type": 1,
"unit":1
}
curl --location --request POST '/adminapi/promotion/product_promotion/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 4,
"promotion_type": 1,
"start_time": "2025-07-21 00:00:00",
"end_time": "2025-08-21 23:59:59",
"promotion_name": "不含指定商品的活动",
"limit_user_rank": [
1
],
"range": 4,
"range_data": [
123,
424,
339,
1
],
"promotion_type_data": [
{
"min_amount": 100,
"reduce": 20
},
{
"min_amount": 150,
"reduce": 50
}
],
"rules_type": 1,
"unit":1
}'
{
"code": 0,
"msg": "ok",
"data": {
"errcode": 0,
"message": "优惠活动更新成功"
}
}