Intermod API Help Page

Suppliers

Controller for accessing supplier information in ERP.

APIDescription
POST api/Suppliers/Stocklist

Method for retrieving supplier stocklist.

POST api/Suppliers/OrganizationUnits

Method for retrieving organization units. If no organization code is passed all units are retreived.

Products

Controller for accessing product information in ERP.

APIDescription
POST api/Products/QuantityAvailable

Method for checking real-time product availibility in ERP. It is intended to be used on cart page (do not overuse it, it is IP protected).

POST api/Products/SetAvailabilityCheck

Method for setting weather a product is bound for regular availability check.

POST api/Products/QuantityAvailableAll

Method for checking real-time product availibility in ERP. Method takes no required parameters and checks all products with webshop flag set. Currently available once a minute.

POST api/Products/PricelistAvailableAll

Method for checking real-time product pricelist in ERP. Method takes no required parameters. Currently available once a minute.

POST api/Products/AnchoredProductPricelist

Method for retreiving real-time product anchored pricelist in ERP. Method takes no organization unit code as parameter. It is paginated with page size of 100 records.

Customer

Controller for retrieving and handling customer data in ERP.

APIDescription
POST api/Customers/GetAll

Method for retreiving basic customer information. It is paginated with page size of 100 records.

POST api/Customers/GetByID/{ID}

Method for retreiving single customer information, based on customer ID.

POST api/Customers/Create

Method for creating single customer in DB. New record is returned, if successful.

POST api/Customers/Modify

Method for updating information for single customer in DB. Updated record is returned, if successful.

Orders

Controller for creating customer (wholesale and retail) orders in ERP.

APIDescription
POST api/Orders/Create

Customer (wholesale and retail) orders. Method returns DocumentID of successfully created order in ERP.

POST api/Orders/Details

Order details. Method returns OrderDetails based on information in ERP.

POST api/Orders/MakeReservation

Create a reservation based on document ID. Method returns reservation document ID in ERP (if successful).