Amberflo API
Defining Promotions

Create or update a promotion

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