getProductsInSupplierPriceList

Returns products that are on the supplier price list.

Contact Erply Helpdesk to enable Supplier Price Lists module on your account. (If not enabled, API returns error 1006.)

API user must have the view rights for all supplier price lists.

To add a new supplier price list, use the saveSupplierPriceList API call.
If you need to add products to a supplier price list, use the addProductToSupplierPriceList API call.
To edit products on the supplier price list, use the editProductInSupplierPriceList API call.
To delete products from the supplier price list, use the deleteProductsFromSupplierPriceList API call.

Input parameters

Parameter name Description Possible value Required
supplierPriceListID Integer yes
pageNo API returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". Integer
recordsOnPage Number of records API should return. Integer

Response

Field name Type Description
supplierPriceListProductID Integer ID of a supplier price list row.
productID Integer Product ID.
price Decimal Discounted net sales price for a product.
amount Integer Available only if Quantity discounts module is enabled on your account. The quantity threshold from which the specified price will apply.
supplierCode String Supplier Product Code.
masterPackQuantity Integer Master Pack Quantity.
minimumOrderQuantity Integer Minimum Order Quantity.
importCode String Import Code.
countryID Integer Country ID.