FoodMaster API Documentation

 

Order Analysis

Getting transport cost info about a possible order before actually placing it.


Action

Read all

GET /orderAnalysis

?dossiernr=1&klant-nr=4&datum_lev=2021-03-10&lev_adres=001&net_waarde_best=220.25


Input

Read all

dossiernr = company within FoodMaster klant-nr = customer id datum_lev = delivery date lev_adres = delivery address code net_waarde_best = net value order


Output

Returns transport cost info about a possible order. The transportkost value determines how much the customer has to pay extra for transport.

The other parts are extra info if wanted. tot_waarde_lev is a cumulation of the current fictional / possible order + all open orders in the system for this customer, delivery date and delivery address. It is this value that is used to determine the costs.

 

See following example: