updateQuoteCredit
Changes the label and the amount of a discount position, then recalculates the quote. A position that is not a credit is rejected; use updateQuoteLineItem for those. Only a quote in state draft can be changed — any other state fails the mutation. Returns the recalculated quote.
Required scopes
The token needs the quotes:write access scope.
updateQuoteCredit(
input: UpdateQuoteCreditInput!
): Quote!
Arguments
updateQuoteCredit.input ● UpdateQuoteCreditInput! non-null input
Type
Quote object
A sales quotation prepared for a customer: priced line items, a validity date and its own state machine. Becomes an order once the customer accepts it, at which point orderId points at the resulting order.