Neiman Marcus Interview Question

How would you design an api?