Search

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 nameDescriptionPossible valueRequired
priceListIDPrice list IDInteger yes
productIDProduct IDInteger yes
priceDiscounted net sales price for a product. Price must be a non-negative decimal.Decimal yes
amountAvailable 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
subsidyAvailable only if Price list row subsidy and other fields module is enabled on your account.

Subsidy must be a non-negative decimal.
Decimal
subsidyTypeIDAvailable only if Price list row subsidy and other fields module is enabled on your account.Integer
pageAvailable only if Price list row subsidy and other fields module is enabled on your account.

Page must be a non-negative integer.
Integer
positionOnPageAvailable 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
forecastUnitsAvailable 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 nameTypeDescription
priceListProductIDIntegerID of the created price list row