---
title: "Update Vendor"
method: PUT
path: "/vendors/{id}"
tags: ["Vendors"]
---

# Update Vendor

`PUT /vendors/{id}`

Update vendor company/contact link

## Path parameters

- `id` integer, required

## Request body

- object
  - `company_id` integer, nullable — Set to link the vendor to a company (contact_id will be cleared if omitted)
  - `contact_id` integer, nullable — Set to link the vendor to a contact (company_id will be cleared if omitted)

## Response `200`

Successful operation

## Other responses

- `400` — Validation error
- `401` — Unauthenticated
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/app4legal/apis/a4l-money-api.md) · [All operations](https://skmtc.net/app4legal/apis/a4l-money-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/app4legal/a4l-money-api/revisions/e0d144609998/schema)
