quotePreview
Graphql fields and variables for the quotePreview mutation
DEPRECATED. Please use Quote Checkout instead
Scope required: standard:write
mutation quotePreview ($quoteId: ID!, $paymentId: ID!, $accountId: ID!, $apply: Boolean!, $taxes: Boolean!, $freeze: Boolean!) {
quotePreview (quoteId: $quoteId, paymentId: $paymentId, accountId: $accountId, apply: $apply, taxes: $taxes, freeze: $freeze) {
errors
formattedInvoice {
amount
amountDue
amountPaid
billingCity
billingCountry
billingState
billingStreet
billingZip
createdAt
credits
currency
currencyId
currencySymbol
customerBillingCity
customerBillingContact
customerBillingCountry
customerBillingState
customerBillingStreet
customerBillingZip
customerName
dueAt
html
id
isLegacy
netPaymentDays
number
payableId
poNumber
printedState
salesContactEmail
smallUnitAmountDue
subscriptionEndDate
subscriptionStartDate
subtotal
taxAmount
taxCode
taxId
taxNumber
uuid
vatCode
vendorName
}
formattedQuote {
acceptedAt
acceptedByName
acceptedByTitle
amount
amountDue
billingCity
billingCountry
billingState
billingStreet
billingZip
contactEmail
contactName
currency
customerBillingCity
customerBillingCountry
customerBillingState
customerBillingStreet
customerBillingZip
customerName
dealOwnerEmail
dealOwnerName
discount
discountValue
duration
endDate
evergreen
expiresAt
html
netPaymentDays
notes
number
payableId
poNumberRequired
salesContactEmail
sharedAt
startDate
subtotal
taxAmount
taxId
taxNumberLabel
taxNumberRequired
taxType
vendorName
}
invoice {
accountId
amount
amountDue
amountPaid
baseCurrencyId
couponApplied
createdAt
credits
currencyId
description
dueAt
id
isLegacy
issuedAt
kind
netPaymentDays
notes
number
paidAt
payableId
poNumber
portalUrl
quoteId
smallUnitAmountDue
subtotal
taxAmount
updatedAt
url
uuid
}
quote {
acceptedByName
acceptedByTitle
accountId
amount
amountDue
applicationDate
applied
applyOnAccept
backdatedPeriods
backdatedQuote
billingDay
contactId
createdAt
credits
currencyId
dealId
discount
discountValue
endDate
evergreen
expiresAt
id
invoiceImmediately
invoiceImmediatelyAvailable
invoiceUntil
isPendingApprovalRequest
message
name
netPaymentDays
notes
number
ownerId
payToAccept
payableId
periodAmount
poNumber
requiresApproval
smallUnitAmountDue
splitInvoice
startDate
subtotal
taxAmount
taxCode
updatedAt
uuid
}
subscriptions
}
}
Arguments
{
"quoteId": "456123",
"paymentId": "456123",
"accountId": "456123",
"apply": true,
"taxes": true,
"freeze": true
}
Name
Type
Description
quoteId
ID
paymentId
ID
accountId
ID
apply
Boolean
taxes
Boolean
freeze
Boolean
Response
Name
Type
Description
errors
List (String)
formattedInvoice
formattedQuote
invoice
quote
subscriptions
Last updated
Was this helpful?