Skip to main content
Version: 3.x

customerDelete

Deletes a customer.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_DELETED (async): A customer account was deleted.
customerDelete(
externalReference: String
id: ID
): CustomerDelete

Arguments

customerDelete.externalReference ● String scalar

External ID of a customer to update.

Added in Saleor 3.10

customerDelete.id ● ID scalar

ID of a customer to delete.

Type

CustomerDelete object

Deletes a customer.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

  • CUSTOMER_DELETED (async): A customer account was deleted.

Was this page helpful?