Authorization: Bearer ********************{
"name": "Christmas holidays 2025",
"discountPercentage": 0.1,
"productIds": [
1
]
}curl --location --request POST 'https://mock.apidog.com/m1/740441-0-default/events/discounts' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Christmas holidays 2025",
"discountPercentage": 0.1,
"productIds": [
1
]
}'{
"data": {
"id": 0,
"name": "Christmas holidays 2025",
"type": "discount",
"discountPercentage": 0.1,
"productIds": [
1
]
},
"error": null,
"links": null,
"meta": null
}