Billing Cloud
Defining Promotions

Create or update a Generic Item Promotion

1min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/promotions/generic_item_promotion

A simple generic promotion for a given product-item.

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
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