Amberflo API
Defining Promotions

Create or update a promotion

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/tiered_relative_product_item_automatic_promotion
Authentication
X-API-KEY
Body Parameters
body
id
*
type
promotionName
*
description
lockingStatus
dimensionConstraintMap
customerTags
isHidden
priceToDiscountMap
discountCalculationStrategy
totalMaxDiscount
cycleMaxDiscount
targetProductItemId
isRegEx
Responses
200
Successful request
id
*
type
promotionName
*
description
lockingStatus
lastUpdateTimeInMillis
dimensionConstraintMap
customerTags
isHidden
priceToDiscountMap
discountCalculationStrategy
totalMaxDiscount
cycleMaxDiscount
targetProductItemId
isRegEx