Retrieve warehouses that this particular authenticated user has access to. API call getWarehouses, on the other hand, returns all warehouses.

Input parameters

Parameter nameDescriptionPossible valueRequired
langRetrieve item names in a specific language. If omitted, API will return item names in the default language of your ERPLY account.
Possible values:
  • 'eng' - English
  • 'spa' - Spanish
  • 'ger' - German
  • 'swe' - Swedish
  • 'fin' - Finnish
  • 'rus' - Russian
  • 'est' - Estonian
  • 'lat' - Latvian
  • 'lit' - Lithuanian
  • 'gre' - Greek
selectedWarehouseIDIf, for example the list of warehouses is needed to populate a dropdown list and one of the items must be preselected (when modifying an existing document), send this input parameter. The selected item must be present in the list even when user technically does not have access to that warehouse. (We want to avoid a situation where user edits an invoice and system silently changes the warehouse in which the sale was done.)Integer


Field nameTypeDescription
warehouseIDIntegerID of the warehouse
nameStringName of the warehouse