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
productIDs Multiple product IDs, separated by commas, such as: 1,2,3,4,5. string
pageNo API returns at most recordsOnPage items at a time. To retrieve 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
supplierPriceListID integer Price list ID.
supplierPriceListProductID integer ID of a supplier price list row.
productID integer Product ID.
price number 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.
notes string Notes.