# Exercise: Checkout Without Overselling

Exercise: Checkout Without Overselling: Exercise: Checkout Without Overselling.

Updated: November 19, 2026

1. [Exercise: Checkout Without Overselling](https://www.ask-codey.com/lessons/exercise-mongodb-checkout-without-overselling) (Journeyman): Write the five statements behind Riverbend Bike Shop's checkout and cancel, from a stock update that never sells a bike twice to a restock, and let the tests run two checkouts at once and a cancel inside a transaction.

Source: https://www.ask-codey.com/courses/mongodb-in-depth/topics/mongodb-exercise-checkout-without-overselling
