Sync Purchase Order Headers
sync_purchase_order_headersBatch create or update purchase order headers in Procore using ids or origin_ids. Send only fields to change; omitted fields keep current values.
Instructions
Creates or updates Purchase Order headers identified using either ids or origin_ids. 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. Returns the modified purchase order header 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: 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/purchase_orders/sync
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company_id | Yes | URL path parameter — the company identifier | |
| project_id | Yes | URL path parameter — the project identifier |