Update Project Vendor
update_project_vendorUpdate a specified project vendor in Procore by sending only the fields you intend to change; omitted fields keep current values.
Instructions
Update a specified Project Vendor. #### 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. Send only the fields you intend to change; omitted fields keep their current values. Pass the record's fields as top-level arguments — they are nested under "vendor" in the request payload for you. project_id defaults to the value 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 project 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: project_id, id. Procore API (v1.1): Core > Directory. Endpoint: PATCH /rest/v1.1/projects/{project_id}/vendors/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | URL path parameter — unique identifier of the Directory resource | |
| zip | No | JSON request body field — postal/ZIP code | |
| city | No | JSON request body field — the city for this Directory operation | |
| name | No | JSON request body field — the name for this Directory operation | |
| view | No | Query string parameter — the normal view provides what is shown below. The extended view is the same as the normal view but includes children_count, legal_name, parent, and bidding. The default view is normal. | |
| notes | No | JSON request body field — notes (notes/keywords/tags) | |
| address | No | JSON request body field — the address for this Directory operation | |
| bidding | No | JSON request body field — bidding statuses | |
| website | No | JSON request body field — website url | |
| is_active | No | JSON request body field — active status | |
| origin_id | No | JSON request body field — unique identifier of the origin | |
| parent_id | No | JSON request body field — parent Vendor ID. Cannot be the same as ID. Only two levels of hierarchy are supported (parent/child). | |
| fax_number | No | JSON request body field — the fax number for this Directory operation | |
| project_id | Yes | URL path parameter — unique identifier for the project. | |
| state_code | No | JSON request body field — state code (ISO-3166 Alpha-2 format) | |
| trade_name | No | JSON request body field — vendor's Trade Name, also known as Doing Business As (DBA). | |
| labor_union | No | JSON request body field — the labor union for this Directory operation | |
| origin_code | No | JSON request body field — the origin code for this Directory operation | |
| origin_data | No | JSON request body field — the origin data for this Directory operation | |
| country_code | No | JSON request body field — country code (ISO-3166 Alpha-2 format) | |
| mobile_phone | No | JSON request body field — the mobile phone for this Directory operation | |
| prequalified | No | JSON request body field — prequalified status | |
| union_member | No | JSON request body field — union member status | |
| email_address | No | JSON request body field — the email address for this Directory operation | |
| business_phone | No | JSON request body field — the business phone for this Directory operation | |
| license_number | No | JSON request body field — the license number for this Directory operation | |
| abbreviated_name | No | JSON request body field — the abbreviated name for this Directory operation | |
| authorized_bidder | No | JSON request body field — authorized bidder status | |
| primary_contact_id | No | JSON request body field — unique identifier of the primary contact | |
| non_union_prevailing_wage | No | JSON request body field — non union prevailing wage status | |
| run_configurable_validations | No | Query string parameter — if true, validations are run for the corresponding Configurable Field Set. |