Skip to main content
Version: 3.x

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

Returns how many objects were affected.

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

DEPRECATED

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

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

Returned by

customerBulkDelete mutation


Was this page helpful?