DeleteCustomerByCode - accountsIQ/API-Wiki GitHub Wiki

Delete a customer account according to its code.

  • 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 DeleteCustomerByCode(string token, String customerCode)

Visual Basic

Public Function DeleteCustomerByCode(ByVal token As String, ByVal customerCode As String) As WSResultStatus

Parameter List

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

See Also

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