Api adapter and inventory