API documentation
Method list
Test your request
Changelog


getInventoryWarehouseRacks
The method allows you to retrieve the list of warehouse racks. The returned list is sorted alphabetically by name.


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
racksarrayAn array of warehouse racks containing the fields listed below.
| - rack_idintRack identifier. Use this value as rack_id when calling addInventoryWarehouseLocation (to assign a location to a rack).
| - namevarchar(100)Rack name.
| - zone_idintIdentifier of the zone the rack belongs to, or 0 if not assigned to any zone.
| - layoutintPicking side layout. 0 = top, 1 = right, 2 = bottom, 3 = left.
| - location_prefixvarchar(10)Prefix applied to location names within this rack. Empty string if not set.



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