quote_item_delete
Soft-deletes a quote line — it leaves the quote and its totals immediately, but the row is retired for audit history, never removed. expected_updated_at is required: the line's updated_at from your read (quote_item_read); without it the removal is refused and the refusal names the current value. Refuses with CONFLICT when the line changed since that read (read it again and decide on the current line) and on a converted quote (its lines are frozen: change its invoice instead). NEXT: quote_read to see the quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The quote_item id (quote_item_list shows them). | |
| unit | No | ||
| position | No | ||
| quantity | No | ||
| quote_id | No | ||
| tax_code | No | ||
| description | No | ||
| discount_bps | No | ||
| unit_price_cents | No | ||
| expected_updated_at | Yes | Required: 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. |