Update Repair Quote
PUT/api/repairs/:repair/quotes/:quote
Edits a draft quote. Sending lines replaces the lines; extra_lines are appended to the current (or given) lines, and totals are recalculated. payment_timing, expires_in_days (counted from now) and terms update only when sent. line_ids is ignored on update.
repairs:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Fields (all optional):
lines(array) — the full set of quote lines. When omitted on create, lines are built from the repair's costs billed to the customer (parts, labour at the labour bill rate, fees), or from the found issue types' flat prices when a unit has no billable costs. Each line:description(string, required, max 255),quantity(number > 0, required),unit_price(number ≥ 0, required),repair_order_line_id(integer, optional),repair_order_cost_id(integer, optional).extra_lines(array) — lines added on top of the built or given lines:description(string, required, max 255),quantity(number > 0, optional, default 1),unit_price(number ≥ 0, required).line_ids(integer[]) — on create, limit the built lines to these repair units. Resolved units are skipped.payment_timing(string) —before_work,before_returnoron_account.expires_in_days(integer, 1–365) — defaults to the tenant's quote expiry setting.terms(string, max 5000).
Authentication: Bearer token with the repairs:write scope.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.