API documentation
Method list
Test your request
Changelog


getExternalStoragesList
The method allows you to retrieve a list of available external storages (shops, wholesalers) that can be referenced via API.


Input parameters



Output data
The method returns the data in JSON format.
statusvarchar(30)SUCCESS - request executed correctly
ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code
storagesarrayAn array of storages containing the fields listed below
| - storage_idvarchar(30)Storage ID in format "[type:shop|warehouse]_[id:int]" (e.g. "shop_2445").
| - namevarchar(100)Storage name
| - methodsarrayAn array of names of methods supported by the storage.



Sample
Input data:
Output data:
A sample request in php: