{
"promotionName": "string",
"startTime": "string",
"endTime": "string",
"item": [
{
"productId": 0,
"skuIds": [
0
],
"value": 0,
"discountType": 0
}
],
"discountId": 0,
"productIds": [
0
]
}
curl --location --request POST '/adminapi/promotion/timeDiscount/update' \
--header 'X-Shop-Id: 0' \
--header 'Content-Type: application/json' \
--data-raw '{
"promotionName": "string",
"startTime": "string",
"endTime": "string",
"item": [
{
"productId": 0,
"skuIds": [
0
],
"value": 0,
"discountType": 0
}
],
"discountId": 0,
"productIds": [
0
]
}'