Skip to main content
Version: 3.x

CustomerDelete

Deletes a customer.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_DELETED (async): A customer account was deleted.
type CustomerDelete {
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
user: User
}

Fields

CustomerDelete.accountErrors ● [AccountError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CustomerDelete.errors ● [AccountError!]! non-null object

CustomerDelete.user ● User object

Returned by

customerDelete mutation


Was this page helpful?