deleteProductsFromSupplierPriceList

Delete products from the supplier price list.

Contact ERPLY Helpdesk to enable Supplier Price Lists module on your account. (If not enabled, API returns error 1006.)

To add products to the supplier price list, use the addProductToSupplierPriceList API call.
To edit a product in the supplier price list, use the editProductInSupplierPriceList API call.
To retrieve the products that are on the supplier price list, use the getProductsInSupplierPriceList API call.

Input parameters

Parameter name Description Possible value Required
supplierPriceListID  The supplier price list where the product rows will be deleted.  Integer  yes  
supplierPriceListProductIDs  The rows to be deleted from the supplier price list. A comma-separated list, such as: 1,2,3.

You must send the IDs of price list row records — not product IDs. To find out the respective row IDs, call getProductsInSupplierPriceList first. 
String  yes  

Response

Field name Type Description
deletedIDs  String  The rows that were deleted. Comma-separated list of integers.  
nonExistingIDs  String  A comma-separated list of row IDs that do not exist in this supplier price list.