Skip to main content

removeQuoteLineItem

Takes a line item off its quote and recalculates the quote. Works for every kind of position, credits included. 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.

removeQuoteLineItem(
lineItemId: ID!
): Quote!

Arguments​

removeQuoteLineItem.lineItemId ● ID! non-null scalar​

ID of the line item to take off the quote.

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.