editProductInPriceList

Edit an existing record in price list.

API call editProductInPriceList does not allow to change product ID. To switch product, the price list row should be deleted using API call deleteProductInPriceList and a new one should be added using API call addProductToPriceList.
If you need to retrieve the products that are on the price list, use the getProductsInPriceList API call.

Input parameters

Parameter name Description Possible value Required
priceListProductID Price list row ID. To get the records use the getProductsInPriceList API call. Integer yes
price Discounted net sales price for a product. Price must be a non-negative decimal. Decimal
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. There must not be the same product with the same amount on the price list.
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 edited price list row