API documentation
Method list
Test your request
Changelog


getInventories
The method allows you to retrieve a list of catalogs available in the BaseLinker storage.


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
inventoriesarrayAn array of available catalogs
| - inventory_idintID of a catalog
| - namevarchar(100)Catalog name
| - descriptiontextCatalog description
| - languagesarrayAn array of languages available in the catalogue.
| - default_languagechar(2)Default language of the catalog.
| - price_groupsarrayAn array of price groups IDs available in the catalog
| - default_price_groupintID of the price group default for the catalog
| - warehousesarrayAn array of warehouse IDs available in the catalog
| - default_warehousevarchar(30)ID of the warehouse default for the catalog
| - reservationsboolDoes this catalogue support reservations
| - is_defaultboolIs this catalog a default catalog



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