Skip to main content
Glama

Simpler.Asia

quote_item_update

Edits a quote line's description, quantity, unit, price or discount, or moves it to another quote. expected_updated_at is required: the line's updated_at from your read; without it nothing is written and the refusal names the current value; a line changed since then answers CONFLICT. Refuses a line of a converted quote or a move onto one (CONFLICT: change its invoice instead). Bounds: unit_price_cents is integer CENTS, 0 or more; quantity 0.001 to 1,000,000 (3 decimals); discount_bps 0 to 10000; quantity × unit_price_cents at most 10,000,000,000. unit "" clears the unit. tax_code is the line's code under the document's tax_scheme, refused on a document without a scheme. NEXT: quote_read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe quote_item id (quote_item_list shows them).
unitNo
positionNo
quantityNoHow many, up to 3 decimals (1.5 hours → 1.5). A new line defaults to 1.
quote_idNo
tax_codeNo
descriptionNo
discount_bpsNoOptional line discount in basis points: 10% → 1000, none → 0. A discount is never a lower or negative price.
unit_price_centsNo
expected_updated_atYesRequired: the line's updated_at from your last read (quote_item_read, quote_item_list or the create answer). Left out, the call is refused and names the current value; a line changed since then returns CONFLICT with the current value and stays as it is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources