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_item_discount
Authentication
X-API-KEY
Body Parameters
body
id
*
type
promotionName
*
description
lockingStatus
targetProductItemId
promotionTimeLimit
discountMap
totalMaxDiscount
measure
One Of
payment.pricing.promotions.attributes.measure.PerUnitBatch.in
dimensionConstraintMap
acrossBillingPeriods
isRegEx
Responses
200
Successful request
id
*
type
promotionName
*
description
lockingStatus
lastUpdateTimeInMillis
targetProductItemId
promotionTimeLimit
discountMap
totalMaxDiscount
measure
One Of
payment.pricing.promotions.attributes.measure.PerUnitBatch.out
dimensionConstraintMap
acrossBillingPeriods
isRegEx


Updated 07 Nov 2024
Did this page help you?