Update An Attachment'S Metadata
update_an_attachments_metadataUpdate metadata for an existing attachment on a Procore shipment. Specify only the fields to change; omitted fields remain unchanged.
Instructions
Updates the metadata of an existing attachment on a shipment resource, such as its description or name. Send only the fields you intend to change; omitted fields keep their current values. company_id and project_id default to the values set by procore_set_config when omitted, and id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified attachment s metadata 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: id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/shipments/{id}/attachments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — the ID of the shipment resource for which the attachment will be updated. | |
| file_id | No | JSON request body field — unique identifier of the file | |
| file_name | No | JSON request body field — the file name for this Materials Management operation | |
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier | |
| attach_type | No | JSON request body field — the attach type for this Materials Management operation | |
| description | No | JSON request body field — the description for this Materials Management operation |