Events overview

How an event, with its dates, schedule and ticket tiers, is synced, published and sold.

An event has a venue, one or more dates, an optional schedule and gallery, and ticket tiers. Events need no listing setup.

OperationEndpoint
Create or replacePUT /events/:externalId
List, retrieve, publish, unpublish, deleteRead, publish or delete at /events

The API manages details, dates, schedule, gallery and ticket tiers. The Partner Portal keeps RSVP setup, ticketing (payment methods, selling windows, cancellation), performers, sponsors and buttons — the API never changes those.

The flow#

An event, from draft to ticket sale
An event, from draft to ticket saleYour serverLocaloyCustomer1. PUT /events/jazz-night-20262. 201 draft with ticket tiers3. POST …/jazz-night-2026/publishIf incomplete4. 409 event_not_ready, with blockersWhen complete5. 200 published6. The event appears7. Buy a VIP ticket8. Inventory check: vip9. Webhook: booking.created
  1. Your server → Localoy: PUT /events/jazz-night-2026
  2. Localoy → Your server: 201 draft with ticket tiers
  3. Your server → Localoy: POST …/jazz-night-2026/publish
  4. — If incomplete —
  5. Localoy → Your server: 409 event_not_ready, with blockers
  6. — When complete —
  7. Localoy → Your server: 200 published
  8. Localoy → Customer: The event appears
  9. Customer → Localoy: Buy a VIP ticket
  10. Localoy → Your server: Inventory check: vip
  11. Localoy → Your server: Webhook: booking.created
  1. PUT the whole event. The first PUT creates a draft (201); later ones replace it (200) and keep whether it is published. Dates are ISO 8601 with their offset.
  2. Tiers. Send tickets as { structure, tiers } (FREE_EVENT, SINGLE_TICKET or MULTIPLE_TICKET); leave tickets out to keep the tiers as they are. Each tier has its own externalId and is updated in place, so tickets already sold keep the name and price they were bought at.
  3. Publish. It needs a venue, a date and at least one tier (or RSVP set up in the portal), else 409 event_not_ready. An event with manual payment also needs a receiving account in the portal (409 payment_options_required).
  4. Customers buy. Localoy asks your inventory endpoint with the tier's externalId (module=event). A tier can also be linked to a catalogue item — see Bookables.

Rules to remember#

  • An event with orders or registrations cannot be deleted (409 listing_has_bookings) — unpublish it.
  • thumbnail and gallery images must come from POST /media.
  • A sandbox key validates and changes nothing ("dryRun": true).
  • A Technology Provider needs the Events module.