Key | Purpose | Sample | Description |
---|---|---|---|
customer | Customer account code (required) | http://localhost:1026CustomerPricing?customer=AC001&products=BUCKET001 |
Gets the price for a product with code BUCKET001 for customer with acount AC001 |
products | Product code (required) | http://localhost:1026CustomerPricing?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:1026CustomerPricing?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:1026CustomerPricing?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:1026CustomerPricing?customer=BBC001&products=BUCKET001&quantity=10¤cy=EUR |
Get a price for BUCKET001 when customer BBC001 buys 10 in Euro |
{
"HOSE15": {
"BaseNetPrice": 100,
"NetPrice": 90,
"BaseGrossPrice": 120,
"GrossPrice": 110,
"DiscountPercentage": 10,
"AdditionalDiscountPercentage1": 0,
"AdditionalDiscountPercentage2": 0,
"AdditionalDiscountPercentage3": 0,
"EMCAmount": 2.5,
"ProductProperties": null,
"QuantityBreakInfos": null
},
"CEMENT10": {
"BaseNetPrice": 500,
"NetPrice": 500,
"BaseGrossPrice": 600,
"GrossPrice": 600,
"DiscountPercentage": 0,
"AdditionalDiscountPercentage1": 0,
"AdditionalDiscountPercentage2": 0,
"AdditionalDiscountPercentage3": 0,
"EMCAmount": 0,
"ProductProperties": null,
"QuantityBreakInfos": null
}
}
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 |