Skip to main content

Create Repair Quote

POST 

/api/repairs/:repair/quotes

Creates a draft quote, the next version on the repair. Send no body to build it from everything billed to the customer on the repair.

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