Update a draft quote
PUT
https://app.speybooks.com/api/v1/quotes/{id}Replace a draft quote. Only quotes in draft status can be
modified; sent, accepted, declined, and converted quotes are
immutable.
This is a full replacement, not a partial update: contactId,
issueDate, validUntil, and lines are required on every
request, existing lines are deleted and replaced with the new
set, and totals are recomputed. A quote that does not exist or is
not in draft status is rejected.
Path parameters
idstringrequiredBody parameters
contactIdstringrequiredissueDatestringrequiredlinesarray<object>requiredShow child parameters
descriptionstringrequiredquantitystringrequiredunitPricestringrequiredvatRateintegerrequiredaccountIdstringoptionalvalidUntilstringrequirednotesstringoptionalreferencestringoptionalResponse
200Quote updated.
Show response fields
quoteNumberstringError codes
400Quote is not in draft status.
404Quote not found.