/pricing/modeling/price-modeling
1 min
POST
https://app.amberflo.io/pricing/modeling/price-modeling
bodyobject
200Successful request
curl --location 'https://app.amberflo.io/pricing/modeling/price-modeling' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"segments": [
{
"meterUsageClusterSegments": [
{
"meterApiName": "",
"groupInfo": {
"gi": ""
},
"usageBucketList": [
{
"usage": 0,
"amountOfCustomers": 0,
"monthlyCustomerTrend": 0
}
],
"averageUsage": 0
}
],
"customersInSegment": 0
}
],
"productItemConstraints": "",
"segmentConstraints": [
{
"flatRatePrice": {
"min": 0,
"max": 0
},
"revenue": {
"min": 0,
"max": 0
}
}
],
"constraint": {
"amountOfTiers": {
"min": 0,
"max": 0
},
"itemUsageRevenueWeight": {
"min": 0,
"max": 0
},
"itemUsageRevenue": {
"min": 0,
"max": 0
},
"flatRateRevenueWeight": {
"min": 0,
"max": 0
},
"flatRateRevenue": {
"min": 0,
"max": 0
},
"revenue": {
"min": 0,
"max": 0
}
},
"trendTimeRange": {
"startTimeInSeconds": 0,
"endTimeInSeconds": 0
}
}'