DeleteSupplierByCode - accountsIQ/API-Wiki GitHub Wiki
Delete a supplier account according to its account 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 DeleteSupplierByCode(string token, String supplierCode)
Public Function DeleteSupplierByCode(ByVal token As String, ByVal supplierCode As String) As WSResultStatus
Parameter | Type | Description |
---|---|---|
token | String | The session token retrieved during authentication. |
supplierCode | String | The supplier account code linked to the supplier account that is to be deleted. |