Update A Compliance Document.
update_a_compliance_document_projectUpdate a compliance document in a Procore project. Send only fields to change; omitted fields remain unchanged. Requires project, contract, and document IDs.
Instructions
Update the specified compliance document. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "attributes" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted, and contract_id, id must identify existing parent records — resolve them with the matching list tool first. Returns the modified compliance document on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: project_id, contract_id, id. Procore API: Construction Financials > Commitments. Endpoint: PATCH /rest/v1.0/projects/{project_id}/work_order_contracts/{contract_id}/compliance_documents/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — identifier for the document | |
| name | No | JSON request body field — the name for this Commitments operation | |
| type | No | JSON request body field — the type for this Commitments operation | |
| notes | No | JSON request body field — the notes for this Commitments operation | |
| status | No | JSON request body field — the status for this Commitments operation | |
| form_ids | No | JSON request body field — forms to attach to the response | |
| image_ids | No | JSON request body field — images to attach to the response | |
| expires_at | No | JSON request body field — the expires at for this Commitments operation | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| upload_ids | No | JSON request body field — uploads to attach to the response | |
| contract_id | Yes | URL path parameter — identifier for the commitment contract | |
| effective_at | No | JSON request body field — the effective at for this Commitments operation | |
| attachment_ids | No | JSON request body field — existing attachments to preserve on the response | |
| file_version_ids | No | JSON request body field — file Versions to attach to the response | |
| drawing_revision_ids | No | JSON request body field — drawing Revisions to attach to the response | |
| send_expiration_notification | No | JSON request body field — send_expiration_notification |