Skip to main content

CustomerDelete Object

Deletes a customer.

Requires the 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​

errors ● [AccountError!]!​

user ● User​

Show deprecatedHide deprecated

accountErrors ● [AccountError!]!​

DEPRECATED

Use errors field instead.

Returned By​

customerDelete mutation