Neiman Marcus interview question

How would you design an api?