FoodMaster API Documentation

 

Orders

This endpoint is used to send Orders to FoodMaster.


Action

Create

POST /Order


Input

Create

A few other options for delivery- and invoice-addresses are possible. This info is not standard available because it is not recommended.

The gl_korting1 is a discount on order level, the ln_korting1 is a discount on line / article level. The types of discount (tp_glkorting and tp_korting1) can never be 0, even if the discount itself is 0.

The lev_adres should be empty or one of the options given or created in the customer address endpoint.

 


Output

The output looks largely the same as the import.

If bestelnr returns 0, the order was not received successfully. Note that the response will only return successful ttOrder_DET objects. If for example, a non-existing article number was provided, the order will return without that ttOrder_DET object.

The possible options for the variable toestand are:

See following example: