Create a ProductPlan using a product plan generator
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/product-plans/template/seat_based
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/product-plans/template/seat_based \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"billingPeriod": {},
"planName": "",
"priceGenerators": {
"distinctDimensions": [],
"id": "",
"leafNodeType": "",
"priceTiers": [
{}
],
"productItemId": "",
"usageGranularity": "",
"type": "tiered_seat_based"
},
"entitlements": [
{
"id": "",
"apiName": ""
}
],
"type": "seat_based"
}'