Sync Company Vendors
sync_company_vendorsBatch create or update company vendors in Procore with one sync call. Omit fields to keep current values, and update up to 1000 vendors per request.
Instructions
Creates or updates a batch of Company Vendors. See Using Sync Actions for additional information. #### Country and State codes The country_code and state_code parameter values must conform to the ISO-3166 Alpha-2 specification. See Working with Country Codes for additional information. #### Documentation The purpose of this API is to allow one or more vendors to be created or updated. The caller provides an array of hashes, each hash containing the attributes for a single vendor. The attribute names in each hash match those used by the Create and Update Company Vendors APIs. Attributes for a maximum of 1000 vendors may be passed with each call. The API will always return an HTTP status of 200. Send only the fields you intend to change; omitted fields keep their current values. Returns the modified company vendor 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, updates. Procore API: Core > Directory. Endpoint: PATCH /rest/v1.0/vendors/sync
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | JSON request body field — the updates for this Directory operation | |
| company_id | Yes | JSON request body field — unique identifier for the Procore company | |
| run_configurable_validations | No | Query string parameter — if true, validations are run for the corresponding Configurable Field Set. |