/warehouse gets data from api