Update Cost Code
update_cost_codeUpdate a cost code in Procore by sending only the fields you want to change. Omitted fields keep their current values; the updated cost code is returned.
Instructions
Update a specific Cost Code. Send only the fields you intend to change; omitted fields keep their current values. id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified cost code 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, project_id, cost_code. Procore API: Construction Financials > Work Breakdown Structure. Endpoint: PATCH /rest/v1.0/cost_codes/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier for the Cost Code | |
| cost_code | Yes | JSON request body field — cost Code object | |
| project_id | Yes | JSON request body field — unique identifier for the project. | |
| sub_job_id | No | JSON request body field — unique identifier for the Sub Job |