curl --location --request PATCH 'https://dev-api.inwantaiwan.com/api/cms/v1/event/flash-sale' \
--header 'Accept: application/json' \
--header 'Authorization: 239|kG4OTKNjeGKfso4PPtIq8QHZ0UqydsT7tcz9ouVAe077b965239|kG4OTKNjeGKfso4PPtIq8QHZ0UqydsT7tcz9ouVAe077b965' \
--header 'Content-Type: application/json' \
--data-raw '{
"information": {
"name": "12:12",
"start_time": "2024-11-04 22:24:15",
"end_time": "2025-05-16 22:24:20",
"status": "active"
},
"product_variants": [
{
"id": 3,
"price": 3000,
"stock": 20,
"discount": {
"type": "percentage",
"amount": 15,
"final_price": 1000
},
"status": "active"
}
]
}'