Create a custom product plan
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/customer-pricing/price-override
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/customer-pricing/price-override \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"customerId": "",
"planGenerator": {
"type": "custom_pricing_plan",
"id": "",
"billingPeriod": {},
"planName": "",
"entitlements": [
{
"id": "",
"apiName": ""
}
],
"priceGenerators": {
"dimensionKeys": [],
"productItemId": "",
"priceTiers": [
{
"leafNodeType": ""
}
],
"type": "cost_plus_dimension"
},
"invoiceBasedFees": {
"type": "constant_invoice_ratio_fee"
}
},
"startTimeInSeconds": 0,
"endTimeInSeconds": 0
}'