Heat the oil in a large pot until it has melted, add the shallots and cook for 5 minutes with a pinch of salt until golden. Add the garlic and stir for 30 seconds then add the dried spices and 2 tbsp of the stock, stir well for 30 seconds until fragrant, then add the pumpkin and a big pinch of salt. Stir for a minute, coating the pumpkin in the spices then add the rest of the stock and coconut milk plus another pinch of salt. Bring to a boil then reduce to a simmer, simmer for 40 minutes until the pumpkin is cooked through then puree until smooth.
To make the toasted coconut flakes, in a small pan heat the coconut oil then add the maple syrup and cinnamon, stir well the pour in the coconut flakes and coat them in the spiced syrup, cook for 5 minutes until golden then leave to the side to cool.
Plate the hot soup with the cool and crunchy toasted coconut flakes on top.