PATCH /rest/v1.0/prime_contracts/{prime_contract_id}/line_items/{id}

Update a Line Item from the Prime Contract. 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

Servers

Path parameters

Name Type Required Description
id Integer Yes

Line Item ID

prime_contract_id Integer Yes

Prime Contract ID

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Procore-Company-Id Integer Yes

Unique company identifier associated with the Procore User Account.

Query parameters

Name Type Required Description
project_id Integer Yes

Unique identifier for the project.

Request body fields

Name Type Required Description
project_id Integer Yes

Unique identifier for the project.

line_item Object Yes

The Line Item object

line_item.line_item_type_id Integer No

Line Item Type ID

line_item.description String No

Description

line_item.tax_code_id Integer No

Tax Code ID

line_item.wbs_code_id Integer No

WBS code ID

line_item.amount String No

Amount

line_item.origin_id String No

Origin ID

line_item.quantity String No

Quantity

line_item.uom String No

Unit of measure

Possible values:

  • "Any value present in the Company list of Units of Measure"
line_item.unit_cost String No

Unit cost

line_item.origin_data String No

Origin Data

line_item.cost_code_id Integer No

Cost Code ID

line_item.extended_type String No

Extended type

Possible values:

  • "manual"
  • "calculated"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.