Create a product item price using a product item price template
1 min
POST
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/product-item-price/template/ultra_frequency_subscription_with_overage
bodyobject
200Successful request
curl --request POST \
--url https://app.amberflo.io/payments/pricing/amberflo/account-pricing/product-item-price/template/ultra_frequency_subscription_with_overage \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"id": "",
"productItemId": "",
"overagePriceGenerator": {
"id": "",
"leafNodeType": "",
"newEventDimensions": [],
"newTimeWindow": "",
"priceTiers": [
{}
],
"productItemId": "",
"type": "ultra_frequency"
},
"subscriptionPriceGenerator": {
"id": "",
"leafNodeType": "",
"newEventDimensions": [],
"newTimeWindow": "",
"priceTiers": [
{}
],
"productItemId": "",
"type": "ultra_frequency"
},
"subscriptionSettings": {
"cancellationRule": "",
"chargeExecution": "",
"purchaseRule": "",
"subscriptionRate": ""
},
"type": "ultra_frequency_subscription_with_overage"
}'