Grokking Modern API Design Interview
Vote
0% completed
Interview Question: Design a Checkout API
The interview question is:
Design a Checkout API.
The pressure is a price that can change while the customer decides, plus one operation that must never run twice.
A cart is not a price promise. A customer may keep a cart for days while a promotion ends, tax changes, or a seller updates a price. At the same time, the final checkout may call inventory, payment, and order creation. A timeout must not cause that sequence to run again.
The API needs a short-lived server-computed quote and a duplicate-safe checkout.
Scope
"I will design a customer's cart, server-computed price quo
.....
.....
.....
Like the course? Get enrolled and start learning!