intermediateConsistency & Transactions
A user double-clicks the 'Submit' button, causing two identical orders to be created. How do you prevent this at the API level?
Tests whether you know how an idempotency key on the client request prevents duplicate processing server-side.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
A user double-clicks the 'Submit' button, causing two identical orders to be created. How do you prevent this at the API level?