Amberflo API
Defining Promotions

Create or update a promotion

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/time_limited_relative_product_discount
Authentication
X-API-KEY
Body Parameters
body
id
*
type
promotionName
*
description
lockingStatus
targetProductId
promotionTimeLimit
discountRatio
totalMaxDiscount
cycleMaxDiscount
Responses
200
Successful request
id
*
type
promotionName
*
description
lockingStatus
lastUpdateTimeInMillis
targetProductId
promotionTimeLimit
discountRatio
totalMaxDiscount
cycleMaxDiscount