Apple official website's education purchase setting provides discounts for students and teachers when purchasing new machines. At the time of purchase, Apple may check the certificates of students or teachers.
In addition, there is no difference in quality between the new machines purchased in the education store and those purchased through other channels.