---
title: "PATCH Update an existing vendor"
description: "Updates details of an existing vendor identified by its ID within the authenticated organization."
last_updated: "2026-05-06T07:33:57.503715+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/vendors/vendorscontroller-updatevendor"
---

<APIEndpoint
  method={"PATCH"}
  path={"/vendors/:id"}
  summary={"Update an existing vendor"}
  description={"Updates details of an existing vendor identified by its ID within the authenticated organization."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"id","in":"path","required":true,"description":"Unique identifier of the vendor to update.","schema":{"type":"string"}}]} />

## Request Body

Updated vendor details.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Vendor updated successfully."}
  contentType={"application/json"}
  schema={{"type":"object"}}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad Request - Invalid vendor data provided."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"401"}
  description={"Unauthorized - API Key or Session token is missing or invalid."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"404"}
  description={"Vendor or Organization not found."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"500"}
  description={"Internal Server Error."}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"PATCH"}
  path={"/vendors/:id"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"id","in":"path","required":true,"description":"Unique identifier of the vendor to update.","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Updated vendor details.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
