I need your help to guide me a bit. My goal is to scan products, then retrieve the scanned barcode to manage it with my API using this function:
export async