Powered by Olark

InventoryAPI by Erply is a powerful backend for web shops, and more.

  • Use as a backbone for any web shop
  • Plug into your existing software
  • Connect inventory with POS and accounts
Developer
competition

Erply Inventory API

List of company related API functions

This is a list of all company related API functions. Click on function name and you'll find all required and optional input parameters and response fields.

  • getCompanyInfo() - Get information about the company running the account.
  • getEmployees() - Returns an array of employees.
  • verifyUser() - Log into ERPLY API: authenticate yourself with a user name and password.

    Each communication session with Erply API must begin with a call to verifyUser. Successful log-in will give you a session key; include it with every subsequent API call. (Send it as input parameter "sessionKey").

    By default, session will last for one hour. When session expires, all API calls will start returning a 1054 or 1055 error; this is an indication that you should call verifyUser again to receive a fresh session key.

    We recommend that you build authentication and session keep-alive into your API wrapper class — so that it automatically refreshes session key when it is about to expire, and is able to re-authenticate and re-issue an API call if it receives error 1054/1055. For an example, see our sample PHP wrapper class.

    If logging in does not succeed, verifyUser returns error 1050, 1051 or 1052.
 
Ask your question and we will contact you
*
*
*
*
Erply is a service of Erply Ltd © 2010 Erply.
9th floor 107 Cheapside London
Company No. 07043823