Pergunta de entrevista da empresa Gopuff

How would you design an API for their shopping cart?