Update Direct Cost Line Item
update_direct_cost_line_itemUpdate an existing direct cost line item in Procore with new values for fields like amount, quantity, or cost code. Send only the fields you want to change; omitted fields keep their current values.
Instructions
Update a Direct Cost Line Item. This action does not support concurrent requests. If there is an attempt to update a Direct Cost Line Item that belongs to a Direct Cost which is being updated or deleted by another request, a 409 Conflict error will be returned. Note: A budget line item will automatically be created for Non-budgeted line items for all new projects and for projects enabled with Non-Budgeted line item beta functionality. 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 "line_item" in the request payload for you. project_id defaults to the value set by procore_set_config when omitted, and direct_cost_id, id must identify existing parent records — resolve them with the matching list tool first. Returns the modified direct cost line 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, direct_cost_id, id. Procore API: Construction Financials > Project Level Direct Costs. Endpoint: PATCH /rest/v1.0/projects/{project_id}/direct_costs/{direct_cost_id}/line_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — direct Cost Line Item ID | |
| uom | No | JSON request body field — unit of measure of the described item | |
| amount | No | JSON request body field — the amount for this Project Level Direct Costs operation | |
| quantity | No | JSON request body field — quantity of described item | |
| origin_id | No | JSON request body field — unique identifier of the origin | |
| unit_cost | No | JSON request body field — unit cost of described item | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| description | No | JSON request body field — the description for this Project Level Direct Costs operation | |
| origin_data | No | JSON request body field — the origin data for this Project Level Direct Costs operation | |
| tax_code_id | No | JSON request body field — unique identifier of the tax code | |
| wbs_code_id | No | JSON request body field — unique identifier of the wbs code | |
| cost_code_id | No | JSON request body field — unique identifier of the cost code | |
| extended_type | No | JSON request body field — calculated amount from quantity and unit cost or manually entered amount | |
| direct_cost_id | Yes | URL path parameter — unique identifier of the direct cost | |
| line_item_type_id | No | JSON request body field — unique identifier of the line item type |