Amberflo API
Defining Promotions

Create or update a promotion

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