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.
| Operation | Endpoint |
|---|---|
| Create or replace | PUT /watches/:externalId |
| List, retrieve, publish, unpublish, delete | Read, publish or delete at /watches |
The flow#
- Your server → Localoy: GET /locations
- Localoy → Your server: 200 the partner's location ids
- Your server → Localoy: POST /media { url } — poster, photos
- Localoy → Your server: 201 { url: Localoy's copy }
- Your server → Localoy: PUT /watches/dune-2
- Localoy → Your server: 201 created — a draft
- Your server → Localoy: POST /watches/dune-2/publish
- Localoy → Customers: The watch appears in the app and on the website
- — If the partner edits it in the Partner Portal —
- Localoy → Your server: Webhook: listing.updated (kind watch)
- Your server → Localoy: GET /watches/dune-2, then your next PUT
- Find the venues.
locationIdstakes the partner's own location ids fromGET /locations. Any other id is refused (400 locationIds_invalid). - Import each image once with
POST /media: the hero image, cast and director photos,IMAGEmedia and gallery images. A trailer is anyhttpslink (YouTube, Vimeo …). PUTthe whole watch. The firstPUTcreates 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.- Publish it with
POST …/publish;POST …/unpublishtakes it off the app and website again. - Keep in step. The partner may still edit the watch in the Partner Portal; you are told by a
listing.updatedwebhook. Read it back before your nextPUT, or thatPUTundoes 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_TICKETmay list up to 10 options;SINGLE_TICKETandFREE_EVENTexactly one.- A sandbox key validates and changes nothing (
"dryRun": true). - A Technology Provider needs the Watch module.