Sync Material Requirements Lines
sync_material_requirements_linesUpdate or create material requirements lines in Procore by referencing existing header and material IDs. Supports batch sync of up to 1000 records per request.
Instructions
Creates or updates material requirements lines identified using either ids or origin_ids. The material on the line must already exist and can be specified using either item_id or item_origin_id. The connected material requirements header must already exist. The maximum number of entities per request is 1000. Exceeding this limit will result in a 413 response. See https://developers.procore.com/documentation/using-sync-actions for more information. 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 id must identify an existing parent record — resolve it with the matching list tool first. Returns the modified material requirements line 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: 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/{id}/line_items/sync
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — material requirements header ID | |
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier |