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