Bookables overview

How to link your catalogue items to the tickets, activity items and dining reservations customers book, so Localoy can check live stock.

A bookable is something customers can book on Localoy: a ticket option on one of your events, one of your activity items, or a table reservation at one of your restaurants. GET /bookables lists them so you can link each to a catalogue item with localoyRef.

EndpointScope
GET /bookablesINVENTORY

The flow#

Linking a bookable and checking it live
Linking a bookable and checking it liveYour serverLocaloyYour inventory endpointCustomer1. GET /bookables2. 200 type, id, experienceName3. PATCH /catalog/items/table-bookinglocaloyRef: { type: dining, id }4. 200 linkedLater, when a customer books5. Book a table6. GET ?external_id=table-booking7. 200 available true or false8. Booked, or refused
  1. Your server → Localoy: GET /bookables
  2. Localoy → Your server: 200 type, id, experienceName
  3. Your server → Localoy: PATCH /catalog/items/table-booking
  4. Note: localoyRef: { type: dining, id }
  5. Localoy → Your server: 200 linked
  6. — Later, when a customer books —
  7. Customer → Localoy: Book a table
  8. Localoy → Your inventory endpoint: GET ?external_id=table-booking
  9. Your inventory endpoint → Localoy: 200 available true or false
  10. Localoy → Customer: Booked, or refused
  1. List. Tickets come first, then activity items, then dining. The list is not paginated. Each entry has a type (event_ticket, activity_item or dining), an id, its name, and the experienceId and experienceName of the listing it belongs to.
  2. Link. Set localoyRef to { type, id } on the catalogue item that stands for it. A bookable links to one item at a time (409 open_network_bookable_already_linked); unlink by setting localoyRef to null.
  3. Check live. Localoy asks your inventory endpoint before accepting the booking, if your production endpoint is saved and enabled.

Rules to remember#

  • Listings you registered through the API are checked by their own externalId — no link needed. Links matter for tickets, activities and dining you manage in the Partner Portal.
  • If an item and a registered listing both match, the catalogue item's link wins.
  • A booking you add yourself in the Partner Portal is never checked.

Guide: Sync your catalogue.