Reservation cancels settle later
Two changes to what a Reservation can report.
What changed
unresolvedcan move tocancelled. A reservation that endsunresolvedwithfailure.codecancel_unconfirmedis no longer final. For 7 days, while the table is still ahead, Layout keeps reading the person's booking account, and moves it tocancelledonce it proves the cancel.reservation.updatedis sent when it does. Every otherunresolvedreservation stays final.- A table that is gone fails as
slot_unavailable. When OpenTable refuses to hold a time it still lists in search, the booking now fails withslot_unavailableinstead ofprovider_declined. Nothing was booked. Search again and offer another time.
What to do
Keep listening for reservation.updated after a reservation ends unresolved with cancel_unconfirmed. If you treat slot_unavailable as a cue to search again, it now covers these tables too.