DeleteSupplierById - accountsIQ/API-Wiki GitHub Wiki

Delete a supplier 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 DeleteSupplierById(string token, String supplierId)

Visual Basic

Public Function DeleteSupplierById(ByVal token As String, ByVal supplierId As String) As WSResultStatus

Parameter List

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

See Also

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