I can confirm that upgrades are available for sale on revenue tickets only. Valid booking classes are all classes where you can accrue mileage in ROP (except W, V, X, I, O and ID tickets etc.).
BKK-FRA is 25,500 THB Y/C and C/F and 51,000 THB for Y/F upgrade