Skip to content

Get Price

The valid price for the customer on a given date.

Endpoints

https://app.passelimerit.fi/api/v2/getprice

Query Payload

json
{
  "ItemCode": "testItem",
  "CustomerId": "xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx",
  "CustName": "testName",
  "CustRegno": "testRegno",
  "CurrencyCode": "EUR",
  "UOMName": "testUOM",
  "DocDate": "20200707"
}
Click to see the query parameters
FieldTypeCommentRequired
ItemCodeStrRequired
CustomerIdGuidIf filled, CustName and CustRegNo will not be used
CustNameStrRequired one of CustName or CustRegnoRequired?
CustRegnoStrRequired?
CurrencyCodeStrIf not specified, API will get local currency
UOMNameStr
DocDateDateRequired

Successful Result

json
{
  "ItemCode": "testItem",
  "Price": 10.0,
  "DiscountPct": 0.0
}
Click to see the result parameters
FieldTypeComment
ItemCodeStr
PriceDec
DiscountPctDec