# Update Vendor Endpoint: PUT /public/v1/vendors/{vendor_id}/ Version: 1.0.0 ## Path parameters: - `vendor_id` (integer, required) ## Request fields (application/json): - `is_active` (boolean, required) - `vendor_type` (string, required) Enum: "individual", "company", "intercompany", "tax_agency" - `name` (string, required) - `email` (string, required) - `phone` (string, required) - `website` (string, required) - `single_address` (string,null) - `country` (any) - `is_1099_eligible` (boolean) - `address` (object,null) - `address.street` (string, required) - `address.city` (string, required) - `address.state` (string, required) - `address.postal_code` (string, required) - `address.second_line` (string) - `tin` (string,null) - `tin_type` (string,null) Enum: "ein", "ssn" - `attachments` (array) - `attachments.id` (integer, required) - `attachments.file_name` (string, required) - `attachments.file_size` (integer, required) - `attachments.download_url` (string,null) - `attachments.upload_url` (string,null) - `record_status` (string) Enum: "draft", "posted", "archived" - `term_id` (integer,null) ## Response 200 fields (application/json): - `term_id` (integer,null, required) - `term_name` (string, required) - `id` (integer, required) - `address` (object,null, required) - `address.street` (string, required) - `address.city` (string, required) - `address.state` (string, required) - `address.postal_code` (string, required) - `address.country` (any) - `address.second_line` (string) - `company_id` (integer,null) - `company_name` (string,null) - `attachments` (array) - `attachments.file_name` (string, required) - `attachments.file_size` (integer, required) - `attachments.download_url` (string,null) - `attachments.upload_url` (string,null) - `single_address` (string,null) - `name` (string, required) - `website` (string,null) - `email` (string,null) - `vendor_type` (string) - `is_active` (boolean) - `phone` (string,null) - `is_1099_eligible` (boolean) - `tin` (string,null) - `tin_type` (string,null) - `record_status` (string) ## Response 400 fields (application/json): - `success` (boolean) - `errors` (object, required) ## Response 422 fields (application/json): - `success` (boolean) - `errors` (object, required) ## Response 500 fields (application/json): - `success` (boolean) - `errors` (object, required)