How do you get the price of a bundle? As far as I understand the documentation (https://world.episerver.com/documentation/developer-guides/commerce/pricing/Pricing-examples/) you should get the price of a bundle by calling 'IPriceDetailService.List()' but I just get an empty list from this method. Or do I need to iterate over every product in the bundle to get the prices?
Bundled SKUs don't have their own prices or inventories. They are made up of individual SKUs, and you need to look up their prices individually. This blog post explains it pretty well.
Also, if you only need to load the prices (not change them), then you may want to use IPriceService instead of IPriceDetailService, because only IPriceService works with cached prices.
Thanks, that was what I suspected but when I found the documentation talking about getting price for a bundle with the IPriceService I got confused :)