Update Line Item
update_line_itemUpdate a specific line item in a material requirements document by changing quantity, item, or notes. Only send fields to change; omitted fields retain their current values.
Instructions
Updates properties such as quantity, item, and notes for a specific line item in a material requirements document. The document must not be in Final status for line items to be updated. Send only the fields you intend to change; omitted fields keep their current values. company_id and project_id default to the values set by procore_set_config when omitted, and material_requirement_id, id must identify existing parent records — resolve them with the matching list tool first. Returns the modified line item on success. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: material_requirement_id, id, company_id, project_id. Procore API (v2.0): Resource Management > Materials Management. Endpoint: PATCH /rest/v2.0/companies/{company_id}/projects/{project_id}/materials_mgmt/material_requirements/{material_requirement_id}/line_items/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Materials Management resource | |
| quantity | No | JSON request body field — the quantity for this Materials Management operation | |
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier | |
| material_requirement_id | Yes | URL path parameter — the material requirements ID |