Skip to main content

customerDelete Mutation

Deletes a customer.

Requires the MANAGE_USERSpermission.

Triggers the following webhook events:

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

Arguments

externalReference ● String

External ID of a customer to update.

id ● ID

ID of a customer to delete.

Type

CustomerDelete

Deletes a customer.

Requires the MANAGE_USERSpermission.

Triggers the following webhook events:

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