Retrieve warehouses that this particular authenticated user has access to. API call getWarehouses, on the other hand, returns all warehouses.
|Parameter name||Description||Possible value||Required|
|lang||Retrieve item names in a specific language. If omitted, API will return item names in the default language of your ERPLY account.|
|selectedWarehouseID||If, 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|
|warehouseID||Integer||ID of the warehouse|
|name||String||Name of the warehouse|