DeepZoom scripting
    Preparing search index...

    Function tripReschedule

    • Reschedule the departure date for a trip.

      Parameters

      • json: { date: string; deltaDays: number } = ...
        • date: string

          string: trip start date formatted as "YYYY-MM-DD | today". (optional)

        • deltaDays: number

          number: number of days (+/-) to offset the beginning of the trip (optional).

      Returns void

      // Reschedule the current trip to start today
      {"date": "today","deltaDays": 0}

      // Reschedule the current trip to start tomorrow
      {"deltaDays": 1}

      // Reschedule the current trip to start on 2024-01-01
      {"date": "2024-01-01"}