quoteChangeCreateRampUpPreview
Add a price list and configure the ramp up of the charges. The quoteChangeCreateRampUpPreview mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation quoteChangeCreateRampUpPreview ($quoteId: ID!, $priceListId: ID!, $rampIntervalMonths: Int) {
quoteChangeCreateRampUpPreview (quoteId: $quoteId, priceListId: $priceListId, rampIntervalMonths: $rampIntervalMonths) {
errors
intervalMonthsOptions
quoteChange {
accountId
calculatedAdjustmentAmount
currencyId
endDate
evergreen
id
isTrial
name
priceAdjustmentAllowed
priceAdjustmentLastDate
priceAdjustmentPercentage
priceListId
quoteId
quotePlanId
rampIntervalMonths
renewalSummary
renewalTermMonths
startDate
subscriptionId
tenantId
trialEndDate
trialLengthDays
trialStartDate
}
}
}
ArgumentsLink to Arguments section
{
"quoteId": "456123",
"priceListId": "456123",
"rampIntervalMonths": 123
}
| Name | Type | Description |
|---|---|---|
| quoteId | ID | |
| priceListId | ID | |
| rampIntervalMonths | Int |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| intervalMonthsOptions | List (Int) | |
| quoteChange | QuoteChange |