Integrated the Amazon API call within the barcode scanner read action