quoteChangeCreateOneTime
Add a one-time product to the quote, with its charges in the quote's currency. The quoteChangeCreateOneTime mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation quoteChangeCreateOneTime ($quoteId: ID!, $productId: ID!) {
quoteChangeCreateOneTime (quoteId: $quoteId, productId: $productId) {
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",
"productId": "456123"
}
| Name | Type | Description |
|---|---|---|
| quoteId | ID | |
| productId | ID |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| quoteChange | QuoteChange |