> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fire.rest/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a supplier

> Partially updates a supplier. Only the fields you send are changed.

<ParamField header="x-api-key" type="string" required>
  BOH API key with `catalog:write` scope.
</ParamField>

<ParamField path="vendorId" type="string" required>
  Vendor UUID.
</ParamField>

<ParamField path="supplierId" type="string" required>
  Supplier UUID.
</ParamField>

<ParamField body="name" type="string">
  New display name.
</ParamField>

<ParamField body="code" type="string">
  New short code.
</ParamField>

<ParamField body="external_supplier_id" type="string">
  New external identifier.
</ParamField>

<ParamField body="email" type="string">
  New contact email.
</ParamField>

<ParamField body="phone" type="string">
  New contact phone.
</ParamField>

<ParamField body="tax_id" type="string">
  New tax/fiscal identifier.
</ParamField>

<ParamField body="metadata" type="object">
  Replaces the existing metadata object.
</ParamField>

<ParamField body="external_user_id" type="string">
  Actor for audit trail.
</ParamField>

<RequestExample>
  ```json theme={null}
  {
    "email": "newemail@bestfoods.com",
    "external_user_id": "user_admin_01"
  }
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "sup_01j5k...",
    "account_id": "acc_01j5k...",
    "external_supplier_id": "SUP-001",
    "code": "BEST-FOODS",
    "name": "Best Foods Co.",
    "email": "newemail@bestfoods.com",
    "is_active": true,
    "metadata": {},
    "updated_at": "2026-08-07T15:00:00.000Z"
  }
  ```
</ResponseExample>
