---
title: "Update a vendor"
method: PATCH
path: "/vendors/{id}"
tags: ["Vendors (only available for accounting add-on users)"]
---

# Update a vendor

`PATCH /vendors/{id}`

Update a vendor

## Path parameters

- `id` string, required

## Request body

- object
  - `company` string — The company name
  - `firstName` string — The first name
  - `lastName` string — The last name
  - `phone` string[] — The phone numbers
  - `email` string[] — The email addresses
  - `address` string — The address
  - `notes` string — The notes
  - `payoutMethod` object — The vendor payout method
    - `type` string, required
    - `accountHolderName` string, required
    - `accountHolderType` string
    - `bankName` string, required
    - `accountNumber` string, required
    - `routingNumber` string
    - `accountType` string, required
    - `abaRoutingNumber` string
    - `bsbCode` string
    - `businessAddress` object
      - `street` string, required — Street address.
      - `country` string, required — Country code or full country name.
      - `city` string, required — City name.
      - `stateProvince` string, required — State, province or region.
      - `zipCode` string, required — ZIP code.
    - `sortCode` string

## Response `200`

Vendor response

- object
  - `_id` string, required — The vendor id
  - `company` string, required — The company name
  - `firstName` string, required — The first name
  - `lastName` string, required — The last name
  - `fullName` string — The full name
  - `phone` string[], required — The phone numbers
  - `email` string[], required — The email addresses
  - `address` string — The address
  - `code` string — Tax vendor code.
  - `notes` string — The notes
  - `payoutMethod` object — The vendor payout method
    - `accountHolderName` string, required — Name of the bank account holder.
    - `bankName` string, required — Name of the receiving bank.
    - `accountNumber` string, required — Bank account number (as provided by the account holder).
    - `routingNumber` string — Routing number for the bank account.
    - `type` string, required — Payout method type
    - `accountType` string, required — Bank account type.
    - `accountHolderType` string — Account holder type.
    - `bsbCode` string — BSB code.
    - `sortCode` string — Sort code.
    - `businessAddress` object — Business address associated with the payout method.
      - `street` string, required — Street address.
      - `country` string, required — Country code or full country name.
      - `city` string, required — City name.
      - `stateProvince` string, required — State, province or region.
      - `zipCode` string, required — ZIP code.

## Other responses

- `403` — You do not have sufficient permissions to access this resource
- `500` — Unhandled exception. Something went wrong on server

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/revisions/7c62644070f2/schema)
