Watch overview

How a watch listing — a movie, show or screening — is synced, published and shown to customers.

A watch is a movie, show, series or screening a partner shows customers: its title, type and genre, the details (language, release, age rating, studio, format, runtime), ratings, cast and directors, trailers and images, a gallery, ticket options, buttons and a summary — everything the Partner Portal's Watch wizard holds. It can play at one or more of the partner's own locations. Watches need no listing setup.

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

The flow#

A watch, from draft to customers
A watch, from draft to customersYour serverLocaloyCustomers1. GET /locations2. 200 the partner's location ids3. POST /media { url } — poster, photos4. 201 { url: Localoy's copy }5. PUT /watches/dune-26. 201 created — a draft7. POST /watches/dune-2/publish8. The watch appears in the app and on the websiteIf the partner edits it in the Partner Portal9. Webhook: listing.updated (kind watch)10. GET /watches/dune-2, then your next PUT
  1. Your server → Localoy: GET /locations
  2. Localoy → Your server: 200 the partner's location ids
  3. Your server → Localoy: POST /media { url } — poster, photos
  4. Localoy → Your server: 201 { url: Localoy's copy }
  5. Your server → Localoy: PUT /watches/dune-2
  6. Localoy → Your server: 201 created — a draft
  7. Your server → Localoy: POST /watches/dune-2/publish
  8. Localoy → Customers: The watch appears in the app and on the website
  9. — If the partner edits it in the Partner Portal —
  10. Localoy → Your server: Webhook: listing.updated (kind watch)
  11. Your server → Localoy: GET /watches/dune-2, then your next PUT
  1. Find the venues. locationIds takes the partner's own location ids from GET /locations. Any other id is refused (400 locationIds_invalid).
  2. Import each image once with POST /media: the hero image, cast and director photos, IMAGE media and gallery images. A trailer is any https link (YouTube, Vimeo …).
  3. PUT the whole watch. The first PUT creates a draft (201); later ones replace it (200) and keep whether it is published. Every list you leave out is emptied — send the cast every time.
  4. Publish it with POST …/publish; POST …/unpublish takes it off the app and website again.
  5. Keep in step. The partner may still edit the watch in the Partner Portal; you are told by a listing.updated webhook. Read it back before your next PUT, or that PUT undoes their change.

Rules to remember#

  • Tickets are shown, not sold: a price, perks, seats and your own ticket url. Localoy takes no watch bookings, so a watch can always be deleted.
  • MULTIPLE_TICKET may list up to 10 options; SINGLE_TICKET and FREE_EVENT exactly one.
  • A sandbox key validates and changes nothing ("dryRun": true).
  • A Technology Provider needs the Watch module.