ItineraryWrite

Markdown

A stored itinerary after a write, with optional warnings.

Fields

  • itineraryIdstring · itineraries idrequired

    The itinerary's id.

  • productIdstring · guide idrequired

    The guide's id.

  • namestringrequired

    The trip's name.

  • descriptionstring or nullrequired

    Short description, or null when empty.

  • bodystring or nullrequired

    Legacy trip notes, or null. Read-only since 2026-10-15: migration appends these to description; new advice belongs in description or a day note.

  • coverMediaIdstring or null · photo idrequired

    A photo of this guide, or null for no cover.

  • travelModesarray of stringsrequired

    Every way the trip gets around, in mode order; empty when none is chosen.

    carpublic_transportcampervanbikeon_footboat
  • seasonItinerarySeason or nullrequired

    Season months only, or null when unset. Legacy season notes are omitted.

    Show 1 fieldof ItinerarySeason
    • monthsarray of numbersoptional

      Optional month numbers, 1 to 12. Stored sorted with duplicates removed; [] drops.

  • daysarray of ItineraryDayrequired

    The stored days with legacy travel from/to fields omitted. Reading does not revalidate or trim them; set_itinerary_days validates your edits when you save.

    Show 4 fieldsof ItineraryDay
    • titlestringoptional

      Optional day title, at most 120 characters. Empty text drops.

    • notestringoptional

      Optional day note, at most 2000 characters. Empty text drops.

    • overnightItineraryOvernightoptional

      Where to sleep: a stay or a campervan spot of this guide, words, or both, plus a note.

      Show 3 fieldsof ItineraryOvernight
      • facilityIdstringoptional

        Optional facilityId from list_facilities: a stay or campervan spot's helper spotId, or an id from before 2026-10-04 that still resolves. Must be a stay (kind hut or hut in extraKinds) or a campervan spot (kind parking, type campervan) of this guide.

      • namestringoptional

        Optional place in words, at most 120 characters. Can accompany a stay or campervan spot id or stand alone.

      • notestringoptional

        Optional overnight note, at most 1000 characters. Empty text drops.

    • stopsarray of ItineraryStoprequired

      Ordered stops, 0 to 40, with no stop ids.

  • ordernumberrequired

    Position in the guide, ascending and fractional.

  • archivedbooleanrequired

    true hides this itinerary from buyers and keeps it editable.

  • createdAtnumberrequired

    When the row was created (Unix time in milliseconds).

  • updatedAtnumberrequired

    When the row last changed (Unix time in milliseconds).

  • warningsarray of stringsoptional

    Notes about things the write accepted but you should look at (a plain http link). Present only when there are any.

Used by