Abandoned tools
All tool areas. Each tool acts within your access.
Abandoned
list_abandoned_bookings
List bookings guests left unpaid after giving their name and email at checkout, newest first: the hold ran out or was given back without an order, or its order was never paid and was canceled or is past its payment's grace. Each shows the session, party, the total they were shown, their contact, whether they agreed to news and offers, and recovered: their first confirmed booking (same email) within 14 days after. from and to are local dates (at the session's location) of when it was left, the last 30 days by default. Only sessions your grants cover; without customers:contact the contact is null and masked true; without orders:amounts value is null. Page back with before (the previous page's next).
Reads · Members of an organization · Needs bookings:read
Input
fromFrom this date (when it was left, at the session's location). Default: 30 days before
totoTo this date, inclusive. Default: today
locationIdOnly sessions at this location
limitThe most results to return (default 50)
beforeThe previous page's
next
Output
itemsitems[]items[].holdIdThe hold (hld_…)
items[].abandonedAtWhen it was left: the hold ran out or was given back, or its unpaid order was canceled or its payment's grace ended
items[].sessionitems[].session.iditems[].session.startsAtitems[].session.productNameitems[].session.locationIdThe session's location (loc_…)
items[].session.locationNameitems[].session.timeZoneThe location's IANA time zone, e.g. America/Toronto
items[].partySizeitems[].valueThe hold's total with tax, as the guest was shown it. Null without orders:amounts where the session is
items[].value.amountMinor units (cents) in the location's currency
items[].value.currencyitems[].contactThe name and email the guest saved. Null when masked (no customers:contact where the session is). A hold whose details were cleared (30 days after it ended, or erased) leaves the report
items[].contact.nameitems[].contact.emailitems[].maskedTrue when the contact is hidden from you (customers:contact)
items[].consentedThe guest agreed to news and offers when they saved their details (whether it still stands is checked when a reminder is due)
items[].recoveredThe guest's first confirmed booking (by the same email, in this organization) within 14 days after; null without bookings:read at that order
items[].recovered.orderIditems[].recovered.bookingCodeitems[].recovered.confirmedAtnextPass as
beforefor the next page; null on the last page