quoteChargeCreate
Graphql fields and variables for the quoteChargeCreate mutation
Create a charge for a quote change
Scope required: standard:write
mutation quoteChargeCreate ($quoteChangeId: ID!, $priceListChargeId: ID!, $subscriptionChargeId: ID!, $startDate: ISO8601Date!, $endDate: ISO8601Date!, $name: String!, $price: Float!, $quantity: Int!, $discount: Boolean!, $priceTiers: !) {
quoteChargeCreate (quoteChangeId: $quoteChangeId, priceListChargeId: $priceListChargeId, subscriptionChargeId: $subscriptionChargeId, startDate: $startDate, endDate: $endDate, name: $name, price: $price, quantity: $quantity, discount: $discount, 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
{
"quoteChangeId": "456123",
"priceListChargeId": "456123",
"subscriptionChargeId": "456123",
"startDate": "2022-06-01",
"endDate": "2022-06-01",
"name": "",
"price": "1.00",
"quantity": 123,
"discount": true,
"priceTiers": [
{
"starts": 123,
"price": "1.00"
}
]
}
Name
Type
Description
quoteChangeId
ID
priceListChargeId
ID
subscriptionChargeId
ID
startDate
ISO8601Date
endDate
ISO8601Date
name
String
price
Float
quantity
Int
discount
Boolean
Response
Name
Type
Description
errors
List (String)
Last updated
Was this helpful?