Skip to main content

CustomerDelete Object

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 users

DEPRECATED

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

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

CustomerDelete.user ● User object users

Returned By

customerDelete mutation