Amberflo API
Defining Promotions

Create or update a promotion

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/time_limited_tiered_absolute_product_discount
Authentication
X-API-KEY
Body Parameters
body
id
*
type
promotionName
*
description
lockingStatus
targetProductId
promotionTimeLimit
discountMap
totalMaxDiscount
measure
One Of
payment.pricing.promotions.attributes.measure.PerUnitBatch.in
acrossBillingPeriods
Responses
200
Successful request
id
*
type
promotionName
*
description
lockingStatus
lastUpdateTimeInMillis
targetProductId
promotionTimeLimit
discountMap
totalMaxDiscount
measure
One Of
payment.pricing.promotions.attributes.measure.PerUnitBatch.out
acrossBillingPeriods