Amberflo API
Defining Promotions

Create or update a promotion

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