addProductToPriceList

Add a new row to a price list.

To create a price list use the savePriceList API call.

If you want to remove any items from the price list, use the deleteProductInPriceList API call.
To edit products in price list use the editProductInPriceList API call.
To get the products from the price list, use the getProductsInPriceList API call.

Input parameters

Parameter name Description Possible value Required
priceListID Price list ID integer yes
productID Product ID integer yes
price Discounted net sales price for a product. Price must be a non-negative decimal. number yes
amount Available only if Quantity discounts module is enabled on your account. The quantity threshold from which the specified price will apply.

Amount must be a non-negative integer. It is not possible to add the same product with the same amount twice.
integer
subsidy Available only if Price list row subsidy and other fields module is enabled on your account.

Subsidy must be a non-negative decimal.
Decimal
subsidyTypeID Available only if Price list row subsidy and other fields module is enabled on your account. integer
page Available only if Price list row subsidy and other fields module is enabled on your account.

Page must be a non-negative integer.
integer
positionOnPage Available only if Price list row subsidy and other fields module is enabled on your account.

Position on page must be a non-negative integer.
integer
forecastUnits Available only if Price list row subsidy and other fields module is enabled on your account.

Forecast units must be a non-negative integer.
integer

Response

Field name Type Description
priceListProductID integer ID of the created price list row