Skip to main content

UpdateQuoteCreditInput

Input for updateQuoteCredit. Both the label and the amount are always written, so send the current value for the one that should stay as it is.

input UpdateQuoteCreditInput {
lineItemId: ID!
label: String!
amount: Float!
}

Fields​

UpdateQuoteCreditInput.lineItemId ● ID! non-null scalar​

ID of the credit line item to change. Must belong to a quote in state draft and must be a credit position.

UpdateQuoteCreditInput.label ● String! non-null scalar​

New display label of the credit.

UpdateQuoteCreditInput.amount ● Float! non-null scalar​

New amount to deduct, in the quote's currency. Must be positive: it is stored as a negative position and deducted from the quote total. Zero and negative amounts are rejected.

Member Of​

updateQuoteCredit mutation