Did the Chinese have slaves?

Yes, in fact most Ancient civilizations had slaves. Slaves had the most filthy, and uncomfortable jobs which nobody wants. If you were female you could have ended up being the Emperor's concubine (sex slave) if you were lucky. You may not think that being a sex slave is lucky but to the Ancient Chinese the Emperor was God's representative on earth, so it was a very good job. The Slavery in China was at its peak in the Shang Dynasty.