Update Project Segment Item
update_project_segment_itemUpdate a specific segment item in a Procore work breakdown structure by changing code, name, status, or sub job. Send only the fields that need modification; the API returns the updated item.
Instructions
Update a specific Project Segment Item. The ID of the record is subject to change under certain conditions, please store the response accordingly. Send only the fields you intend to change; omitted fields keep their current values. project_id defaults to the value set by procore_set_config when omitted, and segment_id, id must identify existing parent records — resolve them with the matching list tool first. Returns the modified project segment item 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, segment_id, id. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/projects/{project_id}/work_breakdown_structure/segments/{segment_id}/segment_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Work Breakdown Structure resource | |
| code | No | JSON request body field — segment Item Code | |
| name | No | JSON request body field — segment Item Name | |
| status | No | JSON request body field — segment Item Status | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| segment_id | Yes | URL path parameter — unique identifier of the segment | |
| sub_job_id | No | JSON request body field — required to update a legacy cost code for a specific sub job |