Create Company Vendor
create_company_vendorCreate a new vendor for a company in Procore by providing company_id and vendor details, and receive the newly created vendor's ID.
Instructions
Create a new Vendor associated with a specified Company. #### 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. Creates the company vendor and returns it with its new id (HTTP 201); calling it again creates another record. 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, vendor. Procore API: Core > Directory. Endpoint: POST /rest/v1.0/vendors
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Query string parameter — specifies which view of the resource to return (which attributes should be present in the response). The default view is extended. | |
| vendor | Yes | JSON request body field — the vendor 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. |