Skip to main content

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 miscellaneous

External ID of a customer to update.

Added in Saleor 3.10

customerDelete.id ● ID scalar miscellaneous

ID of a customer to delete.

Type

CustomerDelete object users

Deletes a customer.

Requires MANAGE_USERSpermission.

Triggers the following webhook events:

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