AI & Technical question

Design an API and schema for a shopping list app.

Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.

Start a mock interview on this question · Mock interview from a job description

What this question tests

Technical product thinking, translating user needs into concrete API endpoints and a data schema.

How to approach it

  1. Clarify the client, mobile app, web, and whether third party integrations like Alexa need access.
  2. Define the core entities, User, List, Item, with attributes like quantity, category, and checked status.
  3. Design the schema, a List belongs to a User and can be shared with other Users, Items belong to a List.
  4. Define the core endpoints, create/get/update/delete for lists and items, plus an endpoint to share a list with collaborators.
  5. Consider real-time sync, e.g. a websocket or polling endpoint so multiple people checking off items see updates live.
  6. Define success criteria for the API design, low latency for item updates and support for offline then sync behavior.

What a strong answer includes

Common mistakes

Likely follow-up questions

More ai & technical questions

More questions from these companies

Learn the skill behind it

Chapters of the AI PM course that teach what this question tests.

Preparing for a specific role?

Book summaries for this kind of question

Browse all 4,000+ questions in the bank