VH3 AI icon

VH3 AI

Read and write BigChange field service data and access VH3 AI intelligence features — jobs, contacts, invoices, reports, search, cases, and more.

Actions242

Quote Document (VH3 AI) → Patch Document Header

AI-generated

Summary

Patch the header of an existing quote document by specifying its document ID, the expected draft revision number, and the user initiating the change, with optional fields such as assigned user ID, commercial content, session ID, title, and validity date.

Inputs

  • Document ID (required) — The unique identifier of the quote document to update or revise.
  • Expected Draft Revision (required) — The draft revision number the header was last read at; prevents update if the document has changed since then.
  • Initiated By User ID (required) — The ID of the user applying the header change.
  • Additional Fields — Optional fields for the update including assigned user ID, commercial content (as JSON), session ID, title, and valid until date.

Output shape

a single updated quote document header object

Returns the updated header data upon successful patch. The update will fail if the expected draft revision does not match the current document revision, ensuring concurrency control.

Examples

Example 1: Update header title and assigned user of a draft quote document

Specify Document ID, Expected Draft Revision, Initiated By User ID, and set new Title and Assigned User ID in additional fields.

Links

Discussion