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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Bulk Update Vendors

> Updates one or more of existing [Vendor](entity:Vendor) objects as suppliers to a seller.

`square.bulkUpdateVendors` updates one or more of existing [Vendor](entity:Vendor) objects as suppliers to a seller.

## Example

```ts automations/square-bulk-update-vendors.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { square } from "automate.ax/square"

export default automation("Bulk Square Update Vendors", () => {
  onDashboardRun({ title: "Bulk Square Update Vendors" })

  square.bulkUpdateVendors({
    vendors: {
      FMCYHBWT1TPL8MFH52PBMEN92A: {
        vendor: {},
      },
      INV_V_JDKYHBWT1D4F8MFH63DBMEN8Y4: {
        vendor: {},
      },
    },
  })
})
```

## Inputs

Every input accepts a compatible signal. It requires `VENDOR_WRITE`.

| Field     | Type                                           | Required | Default | Description                                                                                                                                                                |
| --------- | ---------------------------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `vendors` | `Record\<string, Square.UpdateVendorRequest\>` | Yes      | —       | A set of UpdateVendorRequest objects encapsulating to-be-updated Vendor objects. The set is represented by a collection of `Vendor`-ID/`UpdateVendorRequest`-object pairs. |

Use the official [BulkUpdateVendors reference](https://developer.squareup.com/reference/square/vendors-api/bulk-update-vendors) for provider field semantics and limits.

## Output

Returns the official `Square.BatchUpdateVendorsResponse` response as a codec-safe object. Square integer money amounts remain `bigint` values.
