API documentation
Method list
Test your request
Changelog


getInventoryMapDetails
The method returns detailed information about a specific warehouse map, including the full JSON representation of the visual map layout.


Input parameters
map_idintWarehouse map identifier. The list of identifiers can be retrieved by the getInventoryMaps method (map_id field).



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
map_idintWarehouse map identifier
namevarchar(255)Warehouse map name
is_defaultboolWhether this is the default warehouse map
address_streetvarchar(255)Street address of the warehouse map location
address_cityvarchar(255)City of the warehouse map location
address_postcodevarchar(20)Postal code of the warehouse map location
address_countryvarchar(2)Country code of the warehouse map location (ISO 3166-1 alpha-2)
warehousesarrayAn array of warehouses assigned to this map. Identifiers match those returned by getInventoryWarehouses.
| - warehouse_idintWarehouse identifier, matching the warehouse_id field from getInventoryWarehouses
| - warehouse_typevarchar(30)Warehouse type, matching the warehouse_type field from getInventoryWarehouses. The value "bl" identifies native warehouses; other values reflect the integration type.
map_dataarrayThe full visual map layout as a JSON object. Contains the complete map structure with cells, positions, and configurations. Returns an empty object if no map layout has been created.



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