Amberflo API
Customer Promotions
Apply a promotion to a customer pricing plan
1min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-promotions
Authentication
X-API-KEY
Body Parameters
body
id
productId
customerId
promotionId
appliedTimeInSeconds
addedTimeInSeconds
removedTimeInSeconds
relationId
appliedTimeRange
priority
removalContext
commitmentId
entityProductInvoices
amountLeftInCycle
totalAmountLeft
Responses
200
Successful request
id
productId
customerId
promotionId
appliedTimeInSeconds
addedTimeInSeconds
removedTimeInSeconds
relationId
appliedTimeRange
priority
removalContext
commitmentId
entityProductInvoices
amountLeftInCycle
totalAmountLeft
Updated 07 Nov 2024
Did this page help you?