| POST | /SupplierClient/SupplierClientDelete | Deletes a current suplier or client | Uses your API Key and the ID of the supplier/client you want to delete (SupplierClientIDToDelete) and deletes the specified supplier/client, if the specified supplier/client exists in Megaventory. You can specify the kind of delete action you want to implement using SupplierClientDeleteAction. In particular, you can replace them with a new Id (exclusively for Suppliers and only if the new Id provided is another Supplier's Id), you can delete all the products associated with this Supplier/Client or use the default option to just delete the Supplier/Client. Optionally, you can use mvInsertUpdateDeleteSourceApplication when an external application ( eg Magento ) is the one that triggers the SupplierClientDelete call.  
  
     
A.  Replace a supplier's Id with 7. Call was triggered by Magento.
  
     Value:   {
   "SupplierClientIDToDelete": "20",
   "SupplierClientDeleteAction": "ReplaceWithNewId",
   "NewSupplierClientIDToReplaceDeleted": "7",
   "mvInsertUpdateDeleteSourceApplication": "Magento"
} 
     
     Response:   {
   "result": true,
   "ResponseStatus": {
      "ErrorCode": "0"
   }
}   
 | 
|---|