Amberflo API
Defining Promotions
Create or update a promotion
1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/generic_item_promotion
Authentication
X-API-KEY
Body Parameters
body
id
*
type
promotionName
*
description
lockingStatus
targetItemId
promotionType
condition
One Of
payment.pricing.promotions.conditions.AfterItemPriceThreshold.in
promotionModel
One Of
payment.pricing.promotions.promotion_model.Absolute.in
dimensionConstraintMap
isRegEx
Responses
200
Successful request
id
*
type
promotionName
*
description
lockingStatus
lastUpdateTimeInMillis
targetItemId
promotionType
condition
One Of
payment.pricing.promotions.conditions.AfterItemPriceThreshold.out
promotionModel
One Of
payment.pricing.promotions.promotion_model.Absolute.out
dimensionConstraintMap
isRegEx


Updated 07 Nov 2024
Did this page help you?