PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/commitment_contracts/{commitment_contract_id}/line_items/{id}
Updates a line item for a given commitment contract.
Servers
- https://api.procore.com
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. |
commitment_contract_id |
String | Yes |
Unique identifier for the Commitment 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 |
---|---|---|---|
description |
String | No |
Description |
tax_code_id |
String | No |
Tax code ID |
prime_line_item_id |
String | No |
ID of the prime contract line item associated with this line item |
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:
|
unit_cost |
String | No |
Unit cost - only accepted on unit quantity SOVs |
How to start integrating
- Add HTTP Task to your workflow definition.
- 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.
- Click Test request to test run your request to the API and see the API's response.