Implement refreshInventory api call