> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/mutations/customer-bulk-update

# customerBulkUpdate Mutation

Updates customers.

Requires the MANAGE\_USERS permission.

Triggers the following webhook events:

-   CUSTOMER\_UPDATED (async): A customer account was updated.
-   CUSTOMER\_METADATA\_UPDATED (async): Optionally called when customer's metadata was updated.

```graphql
customerBulkUpdate(
  customers: [CustomerBulkUpdateInput!]!
  errorPolicy: ErrorPolicyEnum
): CustomerBulkUpdate
```

Details

```graphql
type CustomerBulkUpdate {
  count: Int!
  results: [CustomerBulkResult!]!
  errors: [CustomerBulkUpdateError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="customers"></a>

#### [`customers`](#customers) ● [`[CustomerBulkUpdateInput!]!`](/api-reference/users/inputs/customer-bulk-update-input.md)

Input list of customers to update.

<a id="error-policy"></a>

#### [`errorPolicy`](#error-policy) ● [`ErrorPolicyEnum`](/api-reference/miscellaneous/enums/error-policy-enum.md)

Policies of error handling. DEFAULT: REJECT\_EVERYTHING

<a id="type"></a>

### Type

<a id="customerbulkupdate"></a>

#### [`CustomerBulkUpdate`](/api-reference/users/objects/customer-bulk-update.md)

Updates customers.

Requires the MANAGE\_USERS permission.

Triggers the following webhook events:

-   CUSTOMER\_UPDATED (async): A customer account was updated.
-   CUSTOMER\_METADATA\_UPDATED (async): Optionally called when customer's metadata was updated.
