> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/users/llms.txt)
> Source: https://docs.saleor.io/api-reference/users/objects/customer-type-assign-attributes

# CustomerTypeAssignAttributes Object

Assign attributes to a given customer type.

Added in Saleor 3.23.

Requires the MANAGE\_CUSTOMER\_TYPES\_AND\_ATTRIBUTES permission.

Triggers the following webhook events:

-   CUSTOMER\_TYPE\_UPDATED (async): A customer type was updated.

```graphql
type CustomerTypeAssignAttributes {
  customerType: CustomerType
  errors: [CustomerTypeAssignAttributesError!]!
}
```

<a id="fields"></a>

### Fields

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

#### [`customerType`](#customer-type) ● [`CustomerType`](/api-reference/users/objects/customer-type.md)

The updated customer type.

<a id="errors"></a>

#### [`errors`](#errors) ● [`[CustomerTypeAssignAttributesError!]!`](/api-reference/users/objects/customer-type-assign-attributes-error.md)

<a id="returned-by"></a>

### Returned By

[`customerTypeAssignAttributes`](/api-reference/users/mutations/customer-type-assign-attributes.md) mutation
