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.
| Operation | Endpoint |
|---|---|
| Create or replace | PUT /events/:externalId |
| List, retrieve, publish, unpublish, delete | Read, 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#
- Your server → Localoy: PUT /events/jazz-night-2026
- Localoy → Your server: 201 draft with ticket tiers
- Your server → Localoy: POST …/jazz-night-2026/publish
- — If incomplete —
- Localoy → Your server: 409 event_not_ready, with blockers
- — When complete —
- Localoy → Your server: 200 published
- Localoy → Customer: The event appears
- Customer → Localoy: Buy a VIP ticket
- Localoy → Your server: Inventory check: vip
- Localoy → Your server: Webhook: booking.created
PUTthe whole event. The firstPUTcreates a draft (201); later ones replace it (200) and keep whether it is published. Dates are ISO 8601 with their offset.- Tiers. Send
ticketsas{ structure, tiers }(FREE_EVENT,SINGLE_TICKETorMULTIPLE_TICKET); leaveticketsout to keep the tiers as they are. Each tier has its ownexternalIdand is updated in place, so tickets already sold keep the name and price they were bought at. - 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). - 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. thumbnailand gallery images must come fromPOST /media.- A sandbox key validates and changes nothing (
"dryRun": true). - A Technology Provider needs the Events module.