Skip to main content

customerDelete Mutation

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.

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.