PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/prime_contracts/{prime_contract_id}/line_items/{id}

Updates a line item for a given prime contract.

Servers

Path parameters

Name Type Required Description
id String Yes

ID of the line item

project_id String Yes

Unique identifier for the project.

company_id String Yes

Unique identifier for the company.

prime_contract_id String Yes

Unique identifier for the Prime Contract.

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.

Request body fields

Name Type Required Description
line_item_group_id String No

ID of the line item group to associate with this line item

description String No

Description

tax_code_id String No

Tax code ID

wbs_code_id String No

WBS code ID

amount String No

Amount - this field is nullable on unit quantity SOVs but NOT amount-based SOVs. For line item creates, if this field is omitted on unit quantity SOVs, the amount will be calculated as quantity * unit_cost. For line item updates, if a null amount is passed in on unit quantity SOVs, it will set the line item extended type to "calculated".

quantity String No

Quantity - only accepted on unit quantity SOVs

uom String No

Unit of measure - only accepted on unit quantity SOVs

Possible values:

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

Unit cost - only accepted on unit quantity SOVs

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.