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

# attributeBulkUpdate Mutation

Updates attributes.

Triggers the following webhook events:

-   ATTRIBUTE\_UPDATED (async): An attribute was updated. Optionally called when new attribute value was created or deleted.
-   ATTRIBUTE\_VALUE\_CREATED (async): Called optionally when an attribute value was created.
-   ATTRIBUTE\_VALUE\_DELETED (async): Called optionally when an attribute value was deleted.

```graphql
attributeBulkUpdate(
  attributes: [AttributeBulkUpdateInput!]!
  errorPolicy: ErrorPolicyEnum
): AttributeBulkUpdate
```

Details

```graphql
type AttributeBulkUpdate {
  count: Int!
  results: [AttributeBulkUpdateResult!]!
  errors: [AttributeBulkUpdateError!]!
}
```

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

### Arguments

<a id="attributes"></a>

#### [`attributes`](#attributes) ● [`[AttributeBulkUpdateInput!]!`](/api-reference/attributes/inputs/attribute-bulk-update-input.md)

Input list of attributes 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="attributebulkupdate"></a>

#### [`AttributeBulkUpdate`](/api-reference/attributes/objects/attribute-bulk-update.md)

Updates attributes.

Triggers the following webhook events:

-   ATTRIBUTE\_UPDATED (async): An attribute was updated. Optionally called when new attribute value was created or deleted.
-   ATTRIBUTE\_VALUE\_CREATED (async): Called optionally when an attribute value was created.
-   ATTRIBUTE\_VALUE\_DELETED (async): Called optionally when an attribute value was deleted.
