quoteChangeApplyPriceAdjustment
Apply the price adjustments on a quote change. The quoteChangeApplyPriceAdjustment mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation quoteChangeApplyPriceAdjustment ($quoteChangeId: ID!, $priceAdjustmentPercentage: Float, $startDate: ISO8601Date) {
quoteChangeApplyPriceAdjustment (quoteChangeId: $quoteChangeId, priceAdjustmentPercentage: $priceAdjustmentPercentage, startDate: $startDate) {
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
{
"quoteChangeId": "456123",
"priceAdjustmentPercentage": "1.00",
"startDate": "2022-06-01"
}
| Name | Type | Description |
|---|---|---|
| quoteChangeId | ID | |
| priceAdjustmentPercentage | Float | |
| startDate | ISO8601Date |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| quoteChange | QuoteChange |