Update Direct Cost Line Item
update_direct_cost_line_itemUpdate an existing direct cost line item in a project by modifying fields such as amount, description, or cost code.
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. Use this to update an existing Direct Costs (only the supplied fields are changed). Updates the specified Direct Costs and returns the modified object on success. Required parameters: project_id, direct_cost_id, id. Procore API: Construction Financials > Direct Costs. Endpoint: PATCH /rest/v1.0/projects/{project_id}/direct_costs/{direct_cost_id}/line_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| direct_cost_id | No | JSON request body field — unique identifier of the direct cost | |
| id | Yes | URL path parameter — direct Cost Line Item ID | |
| amount | No | JSON request body field — the amount for this Direct Costs operation | |
| 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 | |
| description | No | JSON request body field — the description for this Direct Costs operation | |
| extended_type | No | JSON request body field — calculated amount from quantity and unit cost or manually entered amount | |
| quantity | No | JSON request body field — quantity of described item | |
| line_item_type_id | No | JSON request body field — unique identifier of the line item type | |
| origin_data | No | JSON request body field — the origin data for this Direct Costs operation | |
| origin_id | No | JSON request body field — unique identifier of the origin | |
| unit_cost | No | JSON request body field — unit cost of described item | |
| uom | No | JSON request body field — unit of measure of the described item | |
| tax_code_id | No | JSON request body field — unique identifier of the tax code |