Skip to main content

CustomerBulkDelete

Deletes customers.

Requires 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

CustomerBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

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

DEPRECATED

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

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

Returned By

customerBulkDelete mutation