Create or update a promotion
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/generic_item_promotion
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/generic_item_promotion \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"type": "generic_item_promotion",
"promotionName": "",
"condition": {
"type": "after_item_price_threshold"
},
"promotionModel": {
"type": "absolute",
"measure": {
"type": "per_batch"
}
}
}'