Can anyone let me know how the correct answer is 8000. I double checked and I'm getting 2444.
How I did it:
1. from the /shops path I got all the shops and their id
2. by using id, I got all the products they are being sold in shops by /shops/{id}/products path
3. after getting all the product id, I got value of amount, number of item has been sold and value of products by /shops/products/{id} path.
Let me know what is the correct way of solving this question. Thank you for reading this question!