quoteChargeUpdate
Graphql fields and variables for the quoteChargeUpdate mutation
Modify the quote charge properties
Scope required: standard:write
mutation quoteChargeUpdate ($quoteChargeId: ID!, $quantity: Int!, $discount: Float!, $price: Float!, $subtotal: Float!, $name: String!, $startDate: ISO8601Date!, $endDate: ISO8601Date!, $priceTiers: !) {
quoteChargeUpdate (quoteChargeId: $quoteChargeId, quantity: $quantity, discount: $discount, price: $price, subtotal: $subtotal, name: $name, startDate: $startDate, endDate: $endDate, priceTiers: $priceTiers) {
errors
quoteCharge {
amount
couponId
createdAt
currencyId
currentPrice
currentQuantity
discount
endDate
id
invoiceLineText
isRamp
name
price
priceDecimals
priceListChargeId
prorationRate
quantity
quantityMax
quantityMin
quoteChangeId
startDate
subtotal
taxAmount
taxCode
tieredAveragePrice
updatedAt
vatCode
}
}
}
Arguments
{
"quoteChargeId": "456123",
"quantity": 123,
"discount": "1.00",
"price": "1.00",
"subtotal": "1.00",
"name": "",
"startDate": "2022-06-01",
"endDate": "2022-06-01",
"priceTiers": [
{
"starts": 123,
"price": "1.00"
}
]
}
Name
Type
Description
quoteChargeId
ID
quantity
Int
discount
Float
price
Float
subtotal
Float
name
String
startDate
ISO8601Date
endDate
ISO8601Date
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?