removeItemsFromPriceList

Remove rules from price list. You need to specify rule type and the ID of the respective product or product group that you want to remove. (If using the Quantity Discounts module, you also need to specify the "amount" parameter.)

You can specify many such parameter pairs in one API request; give a sequential number (1, 2, 3, ...) to each such pair. The "#" character below denotes this sequential number.

It is also possible to remove products from the price list, by using the deleteProductInPriceList API call.

In order to delete product rows by the row id's instead of the product id's check removePriceListProductsByRowIds.

Input parameters

Parameter name Description Possible value Required
pricelistID Price list ID. integer yes
type# 'PRODUCT', 'PRODGROUP', or 'SERVICE'. string yes
id# Product / product group ID. integer yes
amount# Available only if Quantity Discounts module is enabled on your account. (The quantity threshold from which the special price will apply.) integer yes