Amberflo API
Defining Promotions

Create or update a promotion

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/generic_product_promotion
Authentication
X-API-KEY
Body Parameters
body
id
*
type
promotionName
*
description
lockingStatus
targetProductId
promotionType
condition
One Of
payment.pricing.promotions.conditions.AfterItemPriceThreshold.in
promotionModel
One Of
payment.pricing.promotions.promotion_model.Absolute.in
Responses
200
Successful request
id
*
type
promotionName
*
description
lockingStatus
lastUpdateTimeInMillis
targetProductId
promotionType
condition
One Of
payment.pricing.promotions.conditions.AfterItemPriceThreshold.out
promotionModel
One Of
payment.pricing.promotions.promotion_model.Absolute.out