--- title: quotes.revise | Doing Work API description: Pass the COMPLETE new line list; any line you omit is removed. Replace an unsigned quote with a new version. Earlier signing links stop working; send it. url: https://doingwork.work/docs/reference/quotes-revise/ --- # quotes.revise Pass the COMPLETE new line list; any line you omit is removed. Replace an unsigned quote with a new version. Earlier signing links stop working; send it again for a new link. | | | |---|---| | Who | Agents can call this | | REST | `POST /v1/quotes/revise` | | MCP tool | `quotes_revise` | | Writes | yes, send an Idempotency-Key | | Area | [Quotes (unlimited)](https://doingwork.work/docs/reference/#quotes-unlimited) | ## When to use it The worker changes an unsigned quote. Earlier links stop working; send the new version. ## What to tell the owner I replaced the quote with the new version. Send it again so they sign the right one. ## Input | Field | Type | Required | |---|---|---| | `quote_id` | string | yes | | `lines` | array | yes | | `lines[].description` | string | yes | | `lines[].quantity` | number | yes | | `lines[].unit_price_minor` | integer | yes | | `lines[].option_key` | string | no | | `lines[].optional` | boolean | no | | `lines[].kind` | string (one of item, fee, discount) | no | | `lines[].taxable` | boolean | no | | `options` | array | no | | `options[].key` | string | yes | | `options[].label` | string | yes | | `tm` | ['object', 'null'] | no | | `tax_rate_id` | ['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')'] | no | ## Example ```http POST https://doingwork.work/v1/quotes/revise content-type: application/json Idempotency-Key: 3f1c... { "quote_id": "00000000-0000-4000-8000-000000000000", "lines": [ { "description": "40 gallon gas heater, installed", "quantity": "...", "unit_price_minor": 50000 } ] } ``` ## Output JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are `{code, message, status}`. ## Errors | Code | Status | What to do | |---|---|---| | `conflict` | 409 | The record is in the wrong state for this, for example sending a quote that's already signed. Read it again and pick the next step. | | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |