Create or replace a watch

Create a movie, show or screening with everything customers see, or replace it, by your own ID.

PUT{BASE_URL}/watches/:externalId

The first PUT of an externalId creates the watch as a draft (201); later ones replace it (200) and keep whether it is published. Send the whole watch: every list you leave out is emptied, and the whole watch is saved at once or not at all. Requires the REGISTRATION scope. A Technology Provider also needs the Watch module. See Sync your listings.

Body

titlestringrequired
1–160 characters.
typestringrequired
MOVIE, TV_SHOW, SERIES, DOCUMENTARY, ANIME or OTHER.
genrestringrequired
For example Sci-fi. Up to 80 characters.
descriptionstringrequired
Up to 5,000 characters.
colorAccentstring | nulloptional
A hex colour such as #7C5CFF. A new watch without one gets #7C5CFF; on an update, null or leaving it out keeps the stored colour.
tagsstring[]optional
Up to 10, each up to 40 characters. Repeats are dropped.
heroImagestring | nulloptional
A URL from POST /media.
locationIdsstring[]optional
Where it plays: up to 50 of the partner's own location ids, from GET /locations.
languagestring | nulloptional
Up to 80 characters.
releasedOnstring | nulloptional
As you want it shown, for example 2026-11-20. Up to 40 characters.
ageRatingstring | nulloptional
For example PG-13. Up to 20 characters.
studiostring | nulloptional
Up to 120 characters.
formatstring | nulloptional
For example 2D, IMAX. Up to 80 characters.
durationstring | nulloptional
In words, for example 2h 46m. Up to 40 characters.
ratingsobject[]optional
Up to 10: { source, score, outOf } — source up to 60 characters, score and outOf numbers (sent as numbers or text).
castobject[]optional
Up to 50 people — see below. position is the character played.
directorsobject[]optional
Up to 20 people — see below.
guidesobject[]optional
Up to 20: { type, detail }, for example { "type": "Seating", "detail": "Recliners" }.
mediaobject[]optional
Up to 10: { type, url } — TRAILER with any https URL, or IMAGE with a URL from POST /media.
galleryobject[]optional
Up to 30: { image, caption?, collection? } — image from POST /media.
ticketsobject[]optional
Up to 10 ticket options — see below.
buttonsobject[]optional
Up to 5: { type, label, url } — see below.
summaryobject[]optional
Up to 20 lines: { name, value }, for example { "name": "Runtime", "value": "166 min" }.

cast[] and directors[]

namestringrequired
Up to 120 characters.
positionstring | nulloptional
The role or character. Up to 120 characters.
photostring | nulloptional
A URL from POST /media.
profileUrlstring | nulloptional
An https link, for example to IMDb.

tickets[]

typestringrequired
FREE_EVENT, SINGLE_TICKET or MULTIPLE_TICKET — the same for every option. Only MULTIPLE_TICKET may have more than one.
namestring | nulloptional
Required for MULTIPLE_TICKET. Up to 80 characters.
priceinteger | nulloptional
Whole taka, 0–1,000,000. Ignored for FREE_EVENT.
perksstring | nulloptional
Up to 500 characters.
availableSeatsinteger | nulloptional
0–100,000.
urlstring | nulloptional
Where to buy, an https link.

buttons[]

typestringrequired
CALL, VISIT_URL, BOOK_NOW, CHAT, DIRECTIONS or CUSTOM.
labelstringrequired
Up to 30 characters.
urlstringrequired
A phone number for CALL (tel: is accepted), free text for CUSTOM, otherwise an https link.

Tickets are shown, not sold

Localoy takes no bookings for a watch: a ticket option shows a price and sends customers to your own url. So nothing stops a watch being deleted, and nothing is kept between PUTs — each list is replaced by the one you send.

StatusCodeWhen
400<field>_required, <field>_invalid, <field>_too_long, <field>_too_manyA field breaks its rule; details.field names it, for example tickets[0].price.
400unknown_fieldA field this page does not list.
400locationIds_invalidAn id that is not one of the partner's locations; details.unknown lists them.
400image_not_importedAn image that is not a URL from POST /media.
400tickets_mixed_types, tickets_too_manyOptions of different types, or more than one that is not MULTIPLE_TICKET.
409resource_managed_elsewhereAnother integration of this partner owns this externalId.
409resource_busyAnother request is creating this externalId right now — retry.
cURL
curl -X PUT "$LOCALOY_BASE_URL/watches/dune-2" \
  -H "Authorization: Bearer $LOCALOY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Dune: Part Two",
    "type": "MOVIE",
    "genre": "Sci-fi",
    "description": "Paul Atreides unites with the Fremen.",
    "heroImage": "https://…/open_network/2026-11-15/3b8a4f5e.webp",
    "locationIds": ["cm4l0c000000000000000001"],
    "language": "English",
    "ageRating": "PG-13",
    "format": "2D, IMAX",
    "duration": "2h 46m",
    "ratings": [{ "source": "IMDb", "score": 8.5, "outOf": 10 }],
    "cast": [{ "name": "Zendaya", "position": "Chani" }],
    "directors": [{ "name": "Denis Villeneuve" }],
    "media": [{ "type": "TRAILER", "url": "https://www.youtube.com/watch?v=Way9Dexny3w" }],
    "tickets": [
      { "type": "MULTIPLE_TICKET", "name": "Regular", "price": 450, "url": "https://tickets.example.com/dune-2" },
      { "type": "MULTIPLE_TICKET", "name": "Premium", "price": 800, "availableSeats": 40 }
    ],
    "buttons": [{ "type": "CALL", "label": "Box office", "url": "01711000000" }]
  }'
Response · 201
{
  "success": true,
  "message": "Watch created as a draft — publish it to show it to customers",
  "dryRun": false,
  "created": true,
  "data": {
    "externalId": "dune-2",
    "id": "cm4w4tch00000000000000001",
    "title": "Dune: Part Two",
    "type": "MOVIE",
    "genre": "Sci-fi",
    "locationIds": ["cm4l0c000000000000000001"],
    "ratings": [{ "source": "IMDb", "score": "8.5", "outOf": "10" }],
    "cast": [{ "name": "Zendaya", "position": "Chani", "photo": null, "profileUrl": null }],
    "directors": [{ "name": "Denis Villeneuve", "position": null, "photo": null, "profileUrl": null }],
    "tickets": [
      { "type": "MULTIPLE_TICKET", "name": "Regular", "price": 450, "perks": null, "availableSeats": null, "url": "https://tickets.example.com/dune-2" },
      { "type": "MULTIPLE_TICKET", "name": "Premium", "price": 800, "perks": null, "availableSeats": 40, "url": null }
    ],
    "buttons": [{ "type": "CALL", "label": "Box office", "url": "01711000000" }],
    "colorAccent": "#7C5CFF",
    "published": false,
    "updatedAt": "2026-11-15T10:00:00.000Z",
    "…": "…"
  }
}