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.
public WSResultStatus DeleteCustomerByCode(string token, String customerCode)
Public Function DeleteCustomerByCode(ByVal token As String, ByVal customerCode As String) As WSResultStatus
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. |