Skip to main content

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.

Required scope: repairs:write

Grant 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_return or on_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​

OK

Response Headers
    Content-Type