---
title: "Update Quote"
method: PATCH
path: "/quotes/{quote_id}"
tags: ["Quotes"]
---

# Update Quote

`PATCH /quotes/{quote_id}`

## Request

- Base URL: `https://be.graph8.com/api/v1`
- URL: `https://be.graph8.com/api/v1/quotes/{quote_id}`
- Auth: HTTP bearer

Update a quote in place (``PUT`` or ``PATCH`` — both accepted).

All fields are optional; only the ones you send change. Draft quotes edit
directly. A ``sent`` / ``viewed`` quote is recalled to draft first (voiding
its live signing link) while keeping the same row + quote number; terminal
quotes (accepted/declined/voided/expired) reject the update.

``owner_id`` reassigns the quote's AE (a blank value is ignored — it never
nulls an existing owner). ``billing_legal_name`` / ``billing_email`` /
``billing_primary_email`` / ``billing_address`` set the customer's billing
identity. Passing ``line_items`` replaces the entire line-item set (and
re-runs quotable-product authorization). Totals recalculate automatically.

## Path parameters

- `quote_id` string, required: Quote UUID

## Headers

- `Authorization` string, nullable
- `X-Target-Org-Id` string, nullable

## Request body

- QuoteUpdateRequest: Partial update for a draft quote. All fields optional. Passing ``line_items`` replaces them entirely (and re-runs quotable-product authorization). Quotes in any status other than ``draft`` reject updates with 400 — use ``edit-as-draft`` on a ``sent`` quote, or ``duplicate`` on a terminal one, to get a fresh editable copy.
  - `title` string, nullable
  - `mashup_company_id` integer, nullable
  - `signer_contact_id` integer, nullable
  - `signer_email` string, nullable
  - `signer_name` string, nullable
  - `billing_contact_id` integer, nullable
  - `billing_legal_name` string, nullable
  - `billing_primary_email` string, nullable
  - `billing_email` string, nullable
  - `billing_address` string, nullable
  - `deal_id` string, nullable
  - `owner_id` string, nullable
  - `currency` string, nullable
  - `payment_terms` 'due_on_receipt' | 'net_15' | 'net_30' | 'net_45' | 'net_60' | 'net_90', nullable
  - `valid_until` string, nullable
  - `terms_content` string, nullable
  - `privacy_content` string, nullable
  - `notes` string, nullable
  - `public_notes` string, nullable
  - `tax_amount` integer, nullable
  - `line_items` QuoteLineItemRequest[], nullable
    - `stripe_product_id` string, nullable
    - `stripe_price_id` string, nullable
    - `manual_product_id` string, nullable
    - `product_name` string, required
    - `description` string, nullable
    - `quantity` integer
    - `unit_amount` integer, required: In cents
    - `discount_pct` number
    - `billing_frequency` 'one_time' | 'month' | 'year' | 'quarter', nullable
    - `start_month` integer: Contract month when recurring billing begins; 1 means at contract start. Use billing_start_date instead for an exact date.
    - `billing_start_date` string, date, nullable: Exact recurring billing start date within the contract; start_month must remain 1 when supplied.
    - `sort_order` integer
  - `contract_months` number, nullable
  - `contract_duration_value` number, nullable
  - `contract_duration_unit` 'months' | 'weeks' | 'days', nullable
  - `contract_start_date` string, nullable
  - `contract_end_date` string, nullable
  - `accepted_payment_methods` string[], nullable
  - `marketing_rights` string[], nullable

## Response `200`

Successful Response

- ApiResponseQuoteDetail
  - `data` QuoteDetail, required: Full row + line items + activity + envelope from ``GET /quotes/{id}``. Open dict because ``_get_quote_detail`` returns the dynamic ``_row_to_dict`` shape plus resolved contact/company/envelope blocks.
    - `id` string, nullable
    - `quote_number` string, nullable
    - `title` string, nullable
    - `status` string, nullable
    - `line_items` object[], nullable
    - `activity` object[], nullable
    - `envelope` object, nullable
  - `pagination` PaginationMeta
    - `page` integer, required: Current page number (1-indexed)
    - `limit` integer, required: Items per page
    - `total` integer, required: Total number of items
    - `has_next` boolean, required: Whether there are more pages
    - `next_cursor` string, nullable: Opaque cursor for the next page; null when there are no more items. Pass it back as the `cursor` query param to fetch the following page without computing page numbers.
    - `total_available` integer, nullable: Search endpoints only: how many records really match, when known. Can be larger than `total`, which is capped at the 10,000 results that can be paged. For company search this is a distinct-company estimate. Null when unknown; absent outside search.
    - `total_is_lower_bound` boolean, nullable: Search endpoints only: true when more records match than `total` shows (the result set is larger than the 10,000 results that can be paged). Absent outside search.
    - `notes` string[], nullable: Search endpoints only: plain-language notes about the result, e.g. that more records match than can be paged, or that a reversed `between` range was put in order.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/graph8/apis/graph8-developer-api.md) · [All operations](https://skmtc.dev/graph8/apis/graph8-developer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/graph8/apis/graph8-developer-api/revisions/2e7cfa0ca921?raw)
