Private preview of the new site. Not live.

quotes.revise

Replace an unsigned quote with a new version. Earlier signing links stop working; send it again for a new link.

WhoAgents can call this
RESTPOST /v1/quotes/revise
MCP toolquotes_revise
Writesyes, send an Idempotency-Key
AreaQuotes (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

FieldTypeRequired
quote_idstringyes
linesarrayyes
lines[].descriptionstringyes
lines[].quantitynumberyes
lines[].unit_price_minorintegeryes
lines[].option_keystringno
lines[].optionalbooleanno
lines[].kindstring (one of item, fee, discount)no
lines[].taxablebooleanno
optionsarrayno
options[].keystringyes
options[].labelstringyes
tax_rate_id['string', 'null', ' ', '(', 'u', 'u', 'i', 'd', ')']no

Example

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

CodeStatusWhat to do
conflict409The 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_limitedCan happen on any call. See errors.