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

# customerTypeDelete Mutation

Deletes a customer type. Users of the deleted customer type are reassigned to the default customer type.

Added in Saleor 3.23.

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

Triggers the following webhook events:

-   CUSTOMER\_TYPE\_DELETED (async): A customer type was deleted.

```graphql
customerTypeDelete(
  id: ID!
): CustomerTypeDelete
```

Details

```graphql
type CustomerTypeDelete {
  errors: [CustomerTypeDeleteError!]!
  customerType: CustomerType
}
```

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

### Arguments

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

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of the customer type to delete.

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

### Type

<a id="customertypedelete"></a>

#### [`CustomerTypeDelete`](/api-reference/users/objects/customer-type-delete.md)

Deletes a customer type. Users of the deleted customer type are reassigned to the default customer type.

Added in Saleor 3.23.

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

Triggers the following webhook events:

-   CUSTOMER\_TYPE\_DELETED (async): A customer type was deleted.
