It depends:
When you redeem a promo code in the MILES App you will see the conditions and validity directly in the description under your code.
☝️Afterwards you can view your redeemed promo codes in your wallet at any time. Here you can find information about the validity of each code.