curl --request POST \
--url https://api.dooki.com.br/v2/{alias}/pricing/progressive-discounts \
--header 'Content-Type: application/json' \
--header 'User-Secret-Key: <api-key>' \
--header 'User-Token: <api-key>' \
--data '{
"active": true,
"min_value": 0,
"max_value": 100,
"percent": 5,
"start_at": "2017-07-02 10:00",
"end_at": "2018-08-17 12:00",
"restrictions": {
"include": {
"products_ids": [
123
],
"brands_ids": [
123
],
"collections_ids": [
123
],
"categories_ids": [
123
]
}
},
"exclude": {
"products_ids": [
123
],
"brands_ids": [
123
],
"collections_ids": [
123
],
"categories_ids": [
123
]
}
}'