Microsoft interview question

How would you design an API contract for a computer store catalog?