This endpoint is used to get the exact price of multiple articles for 1 specific customer and date.
Since the customer, the amount, the order unit and the delivery date and order date determine the price of an article, it is not possible to easily give the exact price a customer will pay for an article. Therefore, we did not add this info to the article endpoint, but created a separate call.
POST /PriceBatch
xxxxxxxxxx{ "dsPriceBatch": { "ttPriceBatch_HFD": [ { "dossiernr": 1, // company within FoodMaster "klant-nr": 4543, // customer id "datum_lev": "2035-12-25", // delivery date "ttPriceBatch_DET":[ { "artikelnr": "AG1548", // article id "artikelsrt": 0, // article kind "beenheid": "ST", // order unit "hoev_be": 12 // amount }, ] } ] }}
See following example:
xxxxxxxxxx{ "dsPriceBatch": { "ttPriceBatch_HFD": [ { "dossiernr": 1, // company within FoodMaster "klant-nr": 4543, // customer id "datum_lev": "2035-12-25", // delivery date "ttPriceBatch_DET": [ { "artikelnr": "AG1548", // article id "artikelsrt": 0, // article kind "beenheid": "ST", // order unit "hoev_be": 12, // amount "waarde": 62.26, // value "netto": 59.15, // net value "tp_korting1": 1, // type line discount 1 "tp_korting2": 1, // type line discount 2 "ln_korting1": 5, // line discount 1 "ln_korting2": 0, // line discount 2 "extra": "" // extra info "datum-prijsw": // price date "fractienr_beursbstd": // fraction number sales exchange "omsch_kort": "" // discount description "cd_peenheid": // code price unit "omrek_prijs": // convert price "cd_feenheid": // code invoice unit "gewicht_gemid": // average weight }, ] } ] }}