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.
| 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 |
| racks | array | An array of warehouse racks containing the fields listed below. |
| | - rack_id | int | Rack identifier. Use this value as rack_id when calling addInventoryWarehouseLocation (to assign a location to a rack). |
| | - name | varchar(100) | Rack name. |
| | - zone_id | int | Identifier of the zone the rack belongs to, or 0 if not assigned to any zone. |
| | - layout | int | Picking side layout. 0 = top, 1 = right, 2 = bottom, 3 = left. |
| | - location_prefix | varchar(10) | Prefix applied to location names within this rack. Empty string if not set. |
Sample
Input data:Output data:
A sample request in PHP: