Healthxchange Pharmacy (UK) Limited (TRAINING) - Intact iQ API
CustomerPricing
This service allows you to retrieve customer specific pricing for products.
Key Purpose Sample Description
customer Customer account code (required) http://localhost:1039/CustomerPricing?customer=AC001&products=BUCKET001 Gets the price for a product with code BUCKET001 for customer with acount AC001
products Product code (required) http://localhost:1039/CustomerPricing?customer=AC001&products=BUCKET001,CEMENT02,CHISEL01 Products can be seperated by commas and you can specify either Ids or Codes
quantity The number of items being bought. Useful when quantity breaks are in effect (optional) http://localhost:1039/CustomerPricing?customer=BBC001&products=BUCKET001&quantity=10 Get a price for BUCKET001 when customer BBC001 buys 10
productproperties A list of comma-seperated product properties to include in the result (optional) http://localhost:1039/CustomerPricing?customer=BBC001&products=BUCKET001&quantity=10&productproperties=description,selling.sellingunits Get a price for BUCKET001 when customer BBC001 buys 10 and includes the description and selling units
currency The currency code to recall the prices in (optional) http://localhost:1039/CustomerPricing?customer=BBC001&products=BUCKET001&quantity=10¤cy=EUR Get a price for BUCKET001 when customer BBC001 buys 10 in Euro
Sample Response
Name Type Description
BaseNetPrice Number The price net of tax before any discount is applied
NetPrice Number The price net of tax after all discount is applied
BaseGrossPrice Number The price inclusive of tax before any discount is applied
GrossPrice Number The price inclusive of tax after all discount is applied
EMCAmount Number The value of EMC included in the price
DiscountPercentage Number The primary discount percentage applied
AdditionalDiscountPercentage1 Number Additional discount percentage applied
AdditionalDiscountPercentage2 Number Additional discount percentage applied
AdditionalDiscountPercentage3 Number Additional discount percentage applied
ProductProperties Array of Object A collection of the properties requested in the productproperties query string parameter
QuantityBreakInfo Array A list of potential quantity break items including the price and any quantiy break table info