This endpoint returns all the articles that are in promotion for a given customer and supplier combination.
Best used in combination with the promo articles endpoint.
GET /Leverancierskorting
dossiernr = company within FoodMaster
klant-nr = customer id
The call simply returns the articles ,supplier and some promo info, not the price or promotion. Price and promotion values can be found in the prices call.
See following example:
xxxxxxxxxx{ "dsLeverancierskorting": { "ttLEV_KORT_HFD": [ { "dossiernr": 1, // company within FoodMaster "klant-nr": 4561, // customer id "ttLEV_KORT_ART": [ { "artikelsrt": 0, // article kind "artikelnr": "AAS45887F", // article id "lever-nr": 9846, // supplier id "leverancier": "Charlies Chocolate Factory", // supplier name "van_datum": "1971-01-23", // promotion staart date "tot_datum": "2050-12-31", // promotion end date "rec-id": 39245 // record id }, ] } ] }}