Search

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 nameDescriptionPossible valueRequired
priceListProductIDPrice list row ID. To get the records use the getProductsInPriceList API call.Integer yes
priceDiscounted net sales price for a product. Price must be a non-negative decimal.Decimal
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. There must not be the same product with the same amount on the price list.
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 edited price list row