Hi Square team — we are testing buyer-level appointment booking in Sandbox. The documentation says buyer-level bookings cannot double-book, but concurrent creates can both return ACCEPTED for the same staff/service/time. Could you clarify the supported concurrency guarantee?
Reproduction steps:
- SearchAvailability for an existing bookable service and staff member.
- Submit two CreateBooking requests concurrently for the same returned location, start time, staff member, service version and duration. Use two different synthetic Sandbox customers and a different idempotency key for each request. Automatic SDK retries are disabled.
- Retrieve both returned booking IDs separately, then re-read them after the batch.
- Replay an original request with its same idempotency key, then make a new request for a third test customer for the occupied slot.
Observed: 9 of 10 tested slots accepted both competing customers, and all accepted records remained ACCEPTED after the batch with the same requested staff/service/time/duration. A later run reproduced overlaps in 8 of 10 slots. Same-key replay returned the original booking; later sequential third-customer requests were rejected as unavailable. Ordinary booking, rescheduling, cancellation, off-hours rejection and response-loss recovery passed. All run-owned bookings were cancelled and synthetic customers cleaned up. No payments or refunds were involved.
One conflicting pair for investigation:
| First create | Second create | |
|---|---|---|
| Square request ID | 176311c9-0171-490a-94f0-eeb9786f3fe4 | 6dfc6fe2-c0ab-4cb7-befb-96ae0daa6ebd |
| Sandbox booking ID | 1yj7e4dqq00lu1 | tc3ora6j0l82qh |
Questions:
- Does buyer-level CreateBooking atomically reject a conflicting staff appointment when requests arrive concurrently?
- Is the observed behavior specific to Sandbox?
- What supported mechanism prevents conflicts across a third-party buyer application and Square’s native booking channels? Checking availability or locking only our own requests cannot coordinate other channels.
We have kept automatic booking confirmation disabled pending clarification. Thanks!