---
updatedAt: 2026-05-21T09:24:06.000Z
agentTools:
  projectIndex: https://open-api-docs.guesty.com/llms.txt
---

# Update a vendor

Update a vendor

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "GUESTY OPEN API",
    "description": "Guesty Open API documentation",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://open-api.guesty.com/v1"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Vendors (only available for accounting add-on users)"
    }
  ],
  "paths": {
    "/vendors/{id}": {
      "patch": {
        "operationId": "VendorsController_patch",
        "summary": "Update a vendor",
        "description": "Update a vendor",
        "parameters": [
          {
            "name": "id",
            "required": true,
            "in": "path",
            "description": "Vendor id to update",
            "schema": {
              "example": "6092061fdeaae7002f92078e",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "company": {
                    "type": "string",
                    "description": "The company name",
                    "example": "Acme Inc."
                  },
                  "firstName": {
                    "type": "string",
                    "description": "The first name",
                    "example": "John"
                  },
                  "lastName": {
                    "type": "string",
                    "description": "The last name",
                    "example": "Doe"
                  },
                  "phone": {
                    "description": "The phone numbers",
                    "example": [
                      "1234567890",
                      "0987654321"
                    ],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "email": {
                    "minItems": 1,
                    "description": "The email addresses",
                    "example": [
                      "john.doe@example.com",
                      "jane.doe@example.com"
                    ],
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "address": {
                    "type": "string",
                    "description": "The address",
                    "example": "123 Main St, Anytown, USA"
                  },
                  "notes": {
                    "type": "string",
                    "description": "The notes",
                    "example": "Notes for the vendor"
                  },
                  "payoutMethod": {
                    "description": "The vendor payout method",
                    "example": {
                      "type": "ABA",
                      "accountHolderName": "John Doe",
                      "bankName": "Bank of America",
                      "accountNumber": "1234567890",
                      "routingNumber": "1234567890",
                      "accountType": "Checking",
                      "accountHolderType": "individual"
                    },
                    "allOf": [
                      {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string"
                          },
                          "accountHolderName": {
                            "type": "string",
                            "maxLength": 200
                          },
                          "accountHolderType": {
                            "type": "string"
                          },
                          "bankName": {
                            "type": "string"
                          },
                          "accountNumber": {
                            "type": "string"
                          },
                          "routingNumber": {
                            "type": "string",
                            "minLength": 9,
                            "maxLength": 9
                          },
                          "accountType": {
                            "type": "string"
                          },
                          "abaRoutingNumber": {
                            "type": "string",
                            "minLength": 9,
                            "maxLength": 9
                          },
                          "bsbCode": {
                            "type": "string",
                            "pattern": "ABA_BSB_CODE_REGEX"
                          },
                          "businessAddress": {
                            "type": "object",
                            "properties": {
                              "street": {
                                "type": "string",
                                "description": "Street address.",
                                "example": "123 Main St"
                              },
                              "country": {
                                "type": "string",
                                "description": "Country code or full country name.",
                                "example": "US"
                              },
                              "city": {
                                "type": "string",
                                "description": "City name.",
                                "example": "New York"
                              },
                              "stateProvince": {
                                "type": "string",
                                "description": "State, province or region.",
                                "example": "NY"
                              },
                              "zipCode": {
                                "type": "string",
                                "description": "ZIP code.",
                                "example": "10001"
                              }
                            },
                            "required": [
                              "street",
                              "country",
                              "city",
                              "stateProvince",
                              "zipCode"
                            ]
                          },
                          "sortCode": {
                            "type": "string",
                            "pattern": "UK_SORT_CODE_REGEX"
                          }
                        },
                        "required": [
                          "type",
                          "accountHolderName",
                          "bankName",
                          "accountNumber",
                          "accountType"
                        ]
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Vendor response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "_id": {
                      "type": "string",
                      "description": "The vendor id",
                      "example": "6092061fdeaae7002f92078e"
                    },
                    "company": {
                      "type": "string",
                      "description": "The company name",
                      "example": "Company Inc."
                    },
                    "firstName": {
                      "type": "string",
                      "description": "The first name",
                      "example": "John"
                    },
                    "lastName": {
                      "type": "string",
                      "description": "The last name",
                      "example": "Doe"
                    },
                    "fullName": {
                      "type": "string",
                      "description": "The full name",
                      "example": "John Doe"
                    },
                    "phone": {
                      "description": "The phone numbers",
                      "example": [
                        "1234567890",
                        "0987654321"
                      ],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "email": {
                      "description": "The email addresses",
                      "example": [
                        "john.doe@example.com",
                        "jane.doe@example.com"
                      ],
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "address": {
                      "type": "string",
                      "description": "The address",
                      "example": "123 Main St, Anytown, USA"
                    },
                    "code": {
                      "type": "string",
                      "description": "Tax vendor code.",
                      "example": "VAT"
                    },
                    "notes": {
                      "type": "string",
                      "description": "The notes",
                      "example": "Notes for the vendor"
                    },
                    "payoutMethod": {
                      "description": "The vendor payout method",
                      "example": {
                        "type": "ABA",
                        "accountHolderName": "John Doe",
                        "bankName": "Bank of America",
                        "accountNumber": "1234567890",
                        "routingNumber": "1234567890",
                        "accountType": "Checking",
                        "accountHolderType": "individual"
                      },
                      "allOf": [
                        {
                          "type": "object",
                          "properties": {
                            "accountHolderName": {
                              "type": "string",
                              "description": "Name of the bank account holder.",
                              "example": "Jane Doe"
                            },
                            "bankName": {
                              "type": "string",
                              "description": "Name of the receiving bank.",
                              "example": "Chase"
                            },
                            "accountNumber": {
                              "type": "string",
                              "description": "Bank account number (as provided by the account holder).",
                              "example": "123456789"
                            },
                            "routingNumber": {
                              "type": "string",
                              "description": "Routing number for the bank account.",
                              "example": "021000021"
                            },
                            "type": {
                              "type": "string",
                              "description": "Payout method type",
                              "example": "ABA"
                            },
                            "accountType": {
                              "type": "string",
                              "description": "Bank account type.",
                              "example": "checking"
                            },
                            "accountHolderType": {
                              "type": "string",
                              "description": "Account holder type.",
                              "example": "individual"
                            },
                            "bsbCode": {
                              "type": "string",
                              "description": "BSB code.",
                              "example": "062-000"
                            },
                            "sortCode": {
                              "type": "string",
                              "description": "Sort code.",
                              "example": "12-34-56"
                            },
                            "businessAddress": {
                              "description": "Business address associated with the payout method.",
                              "example": {
                                "street": "123 Main St",
                                "country": "US",
                                "city": "New York",
                                "stateProvince": "NY",
                                "zipCode": "10001"
                              },
                              "allOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "street": {
                                      "type": "string",
                                      "description": "Street address.",
                                      "example": "123 Main St"
                                    },
                                    "country": {
                                      "type": "string",
                                      "description": "Country code or full country name.",
                                      "example": "US"
                                    },
                                    "city": {
                                      "type": "string",
                                      "description": "City name.",
                                      "example": "New York"
                                    },
                                    "stateProvince": {
                                      "type": "string",
                                      "description": "State, province or region.",
                                      "example": "NY"
                                    },
                                    "zipCode": {
                                      "type": "string",
                                      "description": "ZIP code.",
                                      "example": "10001"
                                    }
                                  },
                                  "required": [
                                    "street",
                                    "country",
                                    "city",
                                    "stateProvince",
                                    "zipCode"
                                  ]
                                }
                              ]
                            }
                          },
                          "required": [
                            "accountHolderName",
                            "bankName",
                            "accountNumber",
                            "type",
                            "accountType"
                          ]
                        }
                      ]
                    }
                  },
                  "required": [
                    "_id",
                    "company",
                    "firstName",
                    "lastName",
                    "phone",
                    "email"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "You do not have sufficient permissions to access this resource",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "Missing account_id error message"
                        },
                        "status": {
                          "type": "number",
                          "example": 403
                        }
                      },
                      "required": [
                        "message",
                        "status"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Unhandled exception. Something went wrong on server",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "Something went wrong"
                        },
                        "status": {
                          "type": "number",
                          "example": 500
                        }
                      },
                      "required": [
                        "message",
                        "status"
                      ]
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        },
        "tags": [
          "Vendors (only available for accounting add-on users)"
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "name": "authorization",
        "in": "header"
      }
    }
  },
  "x-kong-upstream-prefix": "/integrations/brands",
  "x-kong-route-transformations": [
    {
      "configuration": "v1",
      "routeExtpath": "/account-brands",
      "stripPrefix": "/v1/account-brands"
    }
  ]
}
```