Skip to main content

CustomerBulkDelete Object

Deletes customers.

Requires the MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_DELETED (async): A customer account was deleted.
type CustomerBulkDelete {
count: Int!
accountErrors: [AccountError!]! @deprecated
errors: [AccountError!]!
}

Fields

count ● Int!

Returns how many objects were affected.

errors ● [AccountError!]!

Show deprecatedHide deprecated

accountErrors ● [AccountError!]!

DEPRECATED

Use errors field instead.

Returned By

customerBulkDelete mutation