FoodMaster API Documentation

 

Accounts

This call should not be used a lot. The main goals of this call is to return contact information about all customers and their contacts. This way an existing web shop can link it’s accounts, using the email addresses, to the customers defined in FoodMaster.


Action

Get all

GET /accounts


Input

dossiernr = company within FoodMaster


Output

Every customer in FoodMaster with an e-mail address, gets exported as a object in ttCustAccounts. If this customer has contacts defined, they will get exported within the ttCustAccounts object as an ttCustContAccounts object.

If an e-email address on the website, matches an e-mail address in FoodMaster, the klant-nr returned, should be linked to the account matching on the website. If deactivate is true, this customer is no longer active in FoodMaster. Depending on this, you can indicate what should be done with this customer on the website.

See following example: