Content
Pickup Stock Is Available Until Two Buyers Reserve It
Time to read: 4 minutes
Before you trust “Available for pickup,” run two checkouts against the last eligible unit at one store. Both buyers may see it available, but only one should get a confirmed hold. Then let that hold expire, let the other buyer reserve the unit, and return to the first buyer’s old checkout. The test passes only if the expired hold can neither confirm a second order nor release the new buyer’s unit.
Set up one SKU, one location and two carts
Use an authorized test environment. Pick one system that is allowed to make reservation decisions for this location. Record its stock, hold IDs and expiry times separately from the storefront’s cached availability. A confirmed reservation sets stock aside; “Ready for pickup” still requires the store’s preparation confirmation.
Agree when a hold starts, how long it lasts, what makes it eligible to become an order allocation, when the unit becomes sellable again, and what each buyer sees. Expiry and release need not happen at the same instant. For example, the commercetools inventory documentation notes that marking a reservation expired can take a few minutes after its expiry time. Test the actual platform’s contract rather than using a browser countdown as proof of either state.
Worked test: reassign the last unit, then reopen the old cart
Fictional setup and expected results, not an executed test. Store 17 has one sellable BK-7 and no other sales, adjustments or holds. Two separate buyer sessions load the same availability before either submits. This merchant’s test policy gives a cart hold five minutes to become an order allocation, does not automatically reserve for a waiting buyer, and offers another location only after its availability is checked. Times below are on the reservation authority’s clock; they’re not product defaults or target service times.
| Test step | Required record at the reservation authority | What buyers should see |
|---|---|---|
10:00:00 — Both sessions see one unit available. In an authorized test harness, coordinate both requests for BK-7 at Store 17 so the reservation authority receives both before it commits the first reservation decision. | The authority may decide one request at a time. Exactly one active hold results. In this run A wins H-17A; sellable quantity goes from 1 to 0. B has no hold. Either buyer may win on a fresh run. | A sees “Held until 10:05” after confirmation. B sees that pickup at Store 17 is no longer available. Neither sees “Ready.” |
| 10:05:01 — A hasn’t completed checkout; the deadline has passed but release is not yet recorded. | H-17A is no longer valid for checkout. The unit still can’t be promised until the authority confirms release and availability. | A’s old checkout must not confirm pickup. B does not get a promise from the timer or the old stock display. |
| 10:05:10 — Release is recorded; B makes a fresh request. | Sellable quantity returns to 1 once, then to 0 when B gets a distinct hold, H-17B. H-17A stays closed. | B sees a confirmed hold with its own deadline. A has no active hold. |
10:05:20 — A tries to place the order from the old tab; repeat the expiry notification for H-17A in the test harness. | The old hold cannot be converted. The repeated expiry affects neither H-17B nor the sellable count. No order is created for A from H-17A. | A is offered a fresh availability check or a verified alternative, not a confirmed pickup. B’s hold is unchanged. |
Counterexample: B still has a hold after A’s expiry is replayed, but sellable stock goes back to one. That’s a failure even if both screens look right: a third checkout could now be offered a unit B already holds.
Check the slow reply before accepting the fix
Repeat with A’s reservation reply delayed after the authority records it. Until checkout verifies A’s request, it should say it’s checking, not “Reserved” or “Unavailable.” Look up the original request before allowing a fresh hold attempt. If the response arrives after expiry, it cannot establish a current hold. Add one control where A completes checkout before the deadline: the hold becomes an order allocation under the fixture’s policy, and replaying its old expiry must not make the unit sellable.
Keep both cart and request references, store and SKU, hold IDs, the authority-side arrivals and order in which decisions committed, expiry and release records, and sellable quantity at each step. If you can only show overlapping browser waits, mark contention unverified: a delayed reply can hide the fact that A’s hold committed before B’s request arrived. Record the sequential expiry and reassignment results separately; they don’t prove contention. Have inventory operations accept the hold history and ecommerce accept the messages. Run the same test on the current supported configuration before evaluating an add-on or custom change. Keep the current route if it passes; if it fails, show which transition the alternative must handle. The omnichannel integration guide covers the broader choice of who should own reservations across systems.
Let professionals meet your challenge
Our certified specialists will find the most optimal solution for your business.