DeleteCustomerById - accountsIQ/API-Wiki GitHub Wiki

Delete a customer account according to its account Id.

  • If the addon, IsBackToBackOrdering is enabled and the account is a Franchise, the account cannot be deleted and an error will be returned.
  • If the accounts is link to either a transaction, an invoice, an order, a quote, an item price, it cannot be deleted.

Declaration

C#

public WSResultStatus DeleteCustomerById(string token, String customerId)

Visual Basic

Public Function DeleteCustomerById(ByVal token As String, ByVal customerId As String) As WSResultStatus

Parameter List

Parameter Type Description
token String The session token retrieved during authentication.
customerId String The customer account Id linked to the customer account that is to be deleted.

See Also

⚠️ **GitHub.com Fallback** ⚠️