getProductPrices

Retrieve a product's net sales price in a certain location, or net sales price for a specific customer — according to any price lists that apply.

You can query prices for a single product (by supplying parameter productID) or multiple products at a time (by supplying parameter productIDs).

If you do not want a price for a specific customer or location, but just need to know which price lists contain a specific item, see getProductPricesInPriceLists.

Input parameters

Parameter name Description Possible value Required
productID    Integer    
productIDs  Multiple product IDs, separated by commas, such as: 1,2,3,4,5. Returns error 1162 if the list is longer than 10 000 elements.  String    
clientID  Customer ID  Integer    
warehouseID  Sales location ID  Integer    

Response

Field name Type Description
productID  Integer    
defaultPrice  Decimal 2...4 places  Price on product card.  
defaultPriceWithVAT  Decimal, 2 places    
specialPrice  Decimal 2...4 places  Price that applies to this sales location or this customer.  
specialPriceWithVAT  Decimal, 2 places