Update a quote

PUT https://app.speybooks.com/api/v1/quotes/{id}

Update an existing draft quote. Only quotes in draft status can be modified — sent, accepted, declined, and converted quotes are immutable.

If lines are provided, existing lines are deleted and replaced with the new set. Totals are recomputed from the new lines. Omitted header fields (contactId, dates, notes, terms) are left unchanged.

Path parameters

id string required

Body parameters

contactId string optional
issueDate string optional
lines array<any> optional
notes string optional
terms string optional
validUntil string optional

Response

200 Quote updated. Only draft quotes can be edited.
Show response fields
updated boolean

Error codes

400 Invalid ID format or quote is not in draft status.
404 Quote not found.