Fetching products from more bases(axios, nodejs)

This is my codeHello guys. I have a project that I have to finish in 3 days. My problem is when adding products to the cart, I have to fetch products from three different bases, while I only do fetching products from one base. How can I do that, please help. My code: const {data} = await axios.get(‘/api/products/${id}’); And this works but just from this base, i was trying const {data} = await axios.get(‘/api/products/${id}’ || ‘/api/felnes/${id}’ || ‘/api/primes/${id}’); but this doesn’t worked. to mention the variable must only be {data}, because otherwise I get an error id is undefined. I’m new in react.