quoteChangeAdd
Create a quote change. The quoteChangeAdd mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation quoteChangeAdd ($quoteId: ID!, $priceListId: ID!, $parentQuoteChangeId: ID, $trial: Boolean, $trialLengthDays: Int, $trialExpirationAction: TrialExpirationAction, $evergreen: Boolean, $priceAdjustmentTiming: PriceAdjustmentTiming, $priceAdjustmentPercentage: Float, $priceAdjustmentAction: PriceAdjustmentAction, $renewalTermMonths: Int) {
quoteChangeAdd (quoteId: $quoteId, priceListId: $priceListId, parentQuoteChangeId: $parentQuoteChangeId, trial: $trial, trialLengthDays: $trialLengthDays, trialExpirationAction: $trialExpirationAction, evergreen: $evergreen, priceAdjustmentTiming: $priceAdjustmentTiming, priceAdjustmentPercentage: $priceAdjustmentPercentage, priceAdjustmentAction: $priceAdjustmentAction, renewalTermMonths: $renewalTermMonths) {
errors
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",
"parentQuoteChangeId": "456123",
"trial": true,
"trialLengthDays": 123,
"trialExpirationAction": "TrialExpirationAction",
"evergreen": true,
"priceAdjustmentTiming": "PriceAdjustmentTiming",
"priceAdjustmentPercentage": "1.00",
"priceAdjustmentAction": "PriceAdjustmentAction",
"renewalTermMonths": 123
}
| Name | Type | Description |
|---|---|---|
| quoteId | ID | |
| priceListId | ID | |
| parentQuoteChangeId | ID | |
| trial | Boolean | |
| trialLengthDays | Int | |
| trialExpirationAction | TrialExpirationAction | |
| evergreen | Boolean | |
| priceAdjustmentTiming | PriceAdjustmentTiming | |
| priceAdjustmentPercentage | Float | |
| priceAdjustmentAction | PriceAdjustmentAction | |
| renewalTermMonths | Int |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| quoteChange | QuoteChange |