Pereiti prie pagrindinio turinio
documents

Update /documents/{uuid}

Update a document by UUID (PATCH). Only sent fields are updated. Sending assignees or objects replaces the full list. Returns record with the detail projection.

PATCH
/documents/{uuid}
Authorizationstringheaderprivaloma

API key (Bearer token) created in Setup → API & MCP.

uuidstringprivaloma

Turinys

application/json
allow_to_send_with_sales_docsstring

Allow sending with sales documents.

assigneesstring[]

Responsible person staff UUIDs. On update, replaces the full assignee list when sent.

categorystring

Document category picklist value UUID.

clientstring

Client UUID.

contact_personstring

Contact person UUID.

custom_fieldsobject[]

Custom field values by slug.

date_sendstring

Date send (Y-m-d).

descriptionstring

Description.

document_datestring

Document date (Y-m-d).

document_numberstring

Document number.

is_asserted_consistentlystring

Asserted consistently (e-sign ordering).

namestring

Document title.

objectstring

Related object UUID (legacy single link).

objectsstring[]

Related object UUIDs. On update, replaces the full list when sent.

opportunitystring

Related opportunity UUID.

organizationstring

Organization UUID.

projectstring

Related project UUID.

receive_datestring

Receive date (Y-m-d).

recipient_addressstring

Recipient address.

registration_numberstring

Registration number.

show_to_clientstring

Visible in client portal.

statusstring

Document status picklist value UUID.

text_descriptionstring

Text description / body content.

typestring

Document type picklist value UUID.

valid_tillstring

Valid till date (Y-m-d).

Atsakymas

application/json

Success

recordobject

Fields enabled for this documentation instance (projection enabled: feature, option, subdomain, closures) plus account-level form field visibility. Role- and user-level field overrides are not applied here, so an API key whose staff user has such overrides may receive fewer fields. A disabled field is omitted from the response object entirely; a present key with a null value means the record simply has no value.