Create automatic tiered percentage discount based on customer tags
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/tiered_relative_product_item_automatic_promotion
bodyobjectAutomatic tiered promotion applying percentage-based discounts to specific product item charges based on price thresholds and customer tags.
200Automatic promotion created with tier thresholds and customer tag criteria
400Invalid tier configuration or customer tag criteria parameters
401Authentication required or invalid API key provided
500Internal server error occurred while creating automatic promotion
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/tiered_relative_product_item_automatic_promotion \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"type": "tiered_relative_product_item_automatic_promotion",
"promotionName": ""
}'