Create tiered absolute product discount with automatic expiration
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/time_limited_tiered_absolute_product_discount
bodyobjectTiered promotion configuration with usage thresholds, discount amounts, and time limits
200Time-limited tiered promotion created with usage thresholds and expiration schedule
400Invalid tier configuration or time limit parameters
401Authentication required or invalid API key provided
500Internal server error occurred while creating tiered promotion
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/time_limited_tiered_absolute_product_discount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"type": "time_limited_tiered_absolute_product_discount",
"promotionName": "",
"measure": {
"type": "per_batch"
}
}'