quoteChangeCreateRampUp
Add a price list and configure the ramp up of the charges. The quoteChangeCreateRampUp mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation quoteChangeCreateRampUp ($quoteId: ID!, $priceListId: ID!, $parentQuoteChangeId: ID, $rampIntervalMonths: Int!, $charges: [QuoteChargeAttributes!]) {
quoteChangeCreateRampUp (quoteId: $quoteId, priceListId: $priceListId, parentQuoteChangeId: $parentQuoteChangeId, rampIntervalMonths: $rampIntervalMonths, charges: $charges) {
errors
quoteChange {
accountId
calculatedAdjustmentAmount
calculatedAdjustmentPercentage
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",
"parentQuoteChangeId": "456123",
"rampIntervalMonths": 123,
"charges": [
{
"id": "456123",
"name": "",
"code": "",
"priceListChargeId": "456123",
"quantity": 123,
"discount": "1.00",
"price": "BigDecimal",
"subtotal": "BigDecimal",
"startDate": "2022-06-01",
"endDate": "2022-06-01",
"evergreen": true,
"priceTiers": [
{
"starts": 123,
"price": "BigDecimal"
}
]
}
]
}
| Name | Type | Description |
|---|---|---|
| quoteId | ID | |
| priceListId | ID | |
| parentQuoteChangeId | ID | |
| rampIntervalMonths | Int | |
| charges | List (QuoteChargeAttributes) |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| quoteChange | QuoteChange |