CustomerDelete
Deletes a customer.
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
DEPRECATEDThis 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