Sync Direct Cost Line Items
sync_direct_cost_line_itemsBatch create or update Direct Cost Line Items in Procore. Provide project ID and updates to sync line items for direct costs.
Instructions
This endpoint creates or updates a batch of Direct Cost Line Items. For this endpoint either wbs_code_id or cost_code_id and line_item_type_id are required when creating a line item. If both wbs_code_id and cost_code_id are provided, the endpoint will use wbs_code_id. This action does not support concurrent requests. If there is an attempt to update or create 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 b... 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, updates. Procore API: Construction Financials > Direct Costs. Endpoint: PATCH /rest/v1.0/projects/{project_id}/direct_costs/line_items/sync
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| updates | Yes | JSON request body field — the updates for this Direct Costs operation |