getStoragesList
This method allows downloading a list of available storages that can be accessed via API.
Input parameters
Output data:
A sample request in PHP:
Output data
The method returns the data in JSON format.
status | varchar(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 |
storages | array | An array of storages containing the fields listed below |
| - storage_id | varchar(30) | Storage ID in format "[type:bl|shop|warehouse]_[id:int]" (e.g. "shop_2445"). |
| - name | varchar(100) | Storage name |
| - methods | array | An array of names of methods supported by the storage. |
Sample
Input data:Output data:
A sample request in PHP: