Get Inventory Locations
Simply sending a GET request to the endpoint will list and detail all of your inventory locations.
Endpoint: https://YOUR-ACCOUNT-NAME.despatchcloud.co.uk/ws/v1/wsorders/get_inventory_locations
Method: GET
Example Response:
Method: GET
Example Response:
CopyCopyCopyCopyCopyCopyCopyCopy{ "status": "SUCCESS", "locations": [ { "location_id": "0", "parent_location_id": "0", "location_name": "Default", "location_type_id": "1", "priority": "1000", "pickable": "0", "on_hand_stock": "1", "deleted_status": "0", "location_type": "Default" }, { "location_id": "1", "parent_location_id": "0", "location_name": "Returns", "location_type_id": "1", "priority": "1000", "pickable": "0", "on_hand_stock": "1", "deleted_status": "0", "location_type": "Default" }, { "location_id": "1308", "parent_location_id": "0", "location_name": "Test", "location_type_id": "1", "priority": "1", "pickable": "1", "on_hand_stock": "1", "deleted_status": "0", "location_type": "Default" } ] }