Update quote version

Partially update quote version fields with optional bulk line item operations (PATCH semantics)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params

Request schema for partially updating a quote version (PATCH semantics)

Supports consolidated updates to both version fields AND line items in a single request. Only fields provided in the request will be updated. Uses exclude_unset=True in service layer to apply partial updates.

Example - Version fields only: { "name": "Updated Quote Name", "discounts": [{"type": "percentage", "value": 10}] }

Example - Version fields + line items (consolidated with smart union): { "name": "Updated Quote Name", "line_items": [ { "id": "existing-uuid", "quantity": [{"value": 200, "effective_from": "2025-01-01"}] }, // UPDATE (has id, no delete) { "product_id": "new-product-uuid", "pricing_id": "pricing-uuid" }, // CREATE (has product_id, no id) { "id": "delete-uuid", "delete": true } // DELETE (has id + delete: true) ] }

State Constraints: - Editable in DRAFT status (both modes) - Editable in PENDING_APPROVAL (approval-based mode only) - Not editable in SENT, ACCEPTED, or later states

length between 1 and 255

Quote name/title

Detailed quote description

length between 3 and 3

ISO 4217 currency code (e.g., USD, EUR, GBP)

Service/subscription start date

Service/subscription end date (optional)

Quote validity start date

Quote validity end date (optional)

array | null

Quote-level discounts (supplements line item discounts)

array | null

Quote-level taxes (supplements line item taxes)

object | null

Custom data for this quote version

object | null

Version-specific metadata (estimate timestamps, etc.)

array | null

Line item operations (create/update/delete) - optional for consolidated updates. When provided, all line item changes are applied atomically with version updates. Auto-discriminated by field presence: product_id=CREATE, id+delete=DELETE, id=UPDATE.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json