Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

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 one of the following permissions:MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES

Triggers the following webhook events:

  • CUSTOMER_TYPE_DELETED (async): A customer type was deleted.

Applied directives

@webhookEventsInfo(asyncEvents: [CUSTOMER_TYPE_DELETED], syncEvents: [])
customerTypeDelete(id: ID!): CustomerTypeDelete

Returns

CustomerTypeDelete

Show return type
type CustomerTypeDelete {
  errors: [CustomerTypeDeleteError!]!
  customerType: CustomerType
}

Arguments

id

id · ID!

ID of the customer type to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?