---
title: "Update fields on a destination."
method: PATCH
path: "/v1/trips/{id}/variants/{variantId}/destinations/{destinationKey}"
tags: ["Public API v1"]
---

# Update fields on a destination.

`PATCH /v1/trips/{id}/variants/{variantId}/destinations/{destinationKey}`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/trips/{id}/variants/{variantId}/destinations/{destinationKey}`
- Auth: API key in header `X-API-Key`

Returns the destination as it now stands, so the caller can confirm the change landed.

## Path parameters

- `id` string, required
- `variantId` string, required
- `destinationKey` string, required

## Request body

- UpdateDestinationV1Dto
  - `destination` string: New place name.
  - `isReturnToHome` boolean: Toggle return-to-home semantics.
  - `startDate` string, date-time: Arrival date at this destination. Pass null to clear.
  - `endDate` string, date-time: Departure date from this destination. Pass null to clear.
  - `notes` string: New free-form notes.

## Response `200`

- TripDestinationV1Dto
  - `destination` string, required
  - `destinationKey` string, required
  - `isReturnToHome` boolean
  - `startDate` string, date-time: Arrival date at this destination.
  - `endDate` string, date-time: Departure date from this destination.
  - `accommodationOptions` AccommodationOptionV1Dto[], required
    - `key` string, required
    - `name` string
    - `type` 'hotel' | 'hostel' | 'apartment' | 'house' | 'camping' | 'other': Type of accommodation.
    - `totalCost` number, required
    - `currency` string, required
    - `location` OptionLocationOutV1Dto, required
      - `name` string
      - `formattedAddress` string
      - `coordinates` OptionPlaceCoordinatesV1Dto
        - `lat` number, required
        - `lng` number, required
      - `googlePlaceId` string
      - `locationiqPlaceId` string
    - `checkIn` string, date-time
    - `checkOut` string, date-time
    - `freeCancellationUntil` string, date-time
    - `checkInTime` string
    - `checkOutTime` string
    - `roomDetails` RoomDetailsOutV1Dto
      - `numberOfRooms` number
      - `sizeInM2` number
    - `sourceUrl` string
    - `notes` string
    - `imageUrl` string: URL of a photo of the accommodation.
    - `description` string: Short description of the accommodation.
    - `url` string: Link to the listing or the property website.
    - `features` string[]: Facilities this accommodation offers.
    - `externalRating` ExternalRatingV1Dto
      - `score` number, required: Rating score as published by the source (e.g. 8.8).
      - `scale` number, required: Maximum of the rating scale (e.g. 10 for Booking.com, 5 for Google). Required whenever score is set.
      - `count` number: Number of reviews behind the score.
      - `source` string: Where the rating came from (e.g. "booking.com").
    - `createdBy` UserInfoV1Dto
      - `email` string, required
      - `userId` string, required
      - `name` string, required
      - `avatar` string
      - `isCurrentUser` boolean
  - `selectedAccommodation` string
  - `transportOptions` TransportOptionV1Dto[], required
    - `key` string, required
    - `transportType` 'car' | 'plane' | 'train' | 'bus' | 'ship' | 'motorbike' | 'bike' | 'other'
    - `from` OptionLocationOutV1Dto
      - `name` string
      - `formattedAddress` string
      - `coordinates` OptionPlaceCoordinatesV1Dto
        - `lat` number, required
        - `lng` number, required
      - `googlePlaceId` string
      - `locationiqPlaceId` string
    - `to` OptionLocationOutV1Dto
      - `name` string
      - `formattedAddress` string
      - `coordinates` OptionPlaceCoordinatesV1Dto
        - `lat` number, required
        - `lng` number, required
      - `googlePlaceId` string
      - `locationiqPlaceId` string
    - `departAt` string, date-time
    - `arriveAt` string, date-time
    - `durationHours` number
    - `durationMinutes` number
    - `roundTrip` boolean, required
    - `roundTripReturn` boolean
    - `outboundIncludesReturnCost` boolean
    - `returnTransportOptionKey` string
    - `totalCost` number
    - `notes` string
    - `link` string
    - `currency` string
    - `createdBy` UserInfoV1Dto
      - `email` string, required
      - `userId` string, required
      - `name` string, required
      - `avatar` string
      - `isCurrentUser` boolean
  - `selectedTransportOption` string
  - `gettingAroundOptions` GettingAroundOptionV1Dto[], required
    - `key` string, required
    - `type` 'walk' | 'publicTransport' | 'rideShare' | 'ownCar' | 'rentalCar' | 'ownMotor' | 'rentalMotor' | 'bike' | 'rentalBike' | 'other'
    - `totalCost` number
    - `currency` string
    - `notes` string
    - `link` string
    - `createdBy` UserInfoV1Dto
      - `email` string, required
      - `userId` string, required
      - `name` string, required
      - `avatar` string
      - `isCurrentUser` boolean
  - `selectedGettingAroundOption` string
  - `notes` string

## Other responses

- `404`: Trip, variant, or destination not found, or no edit access.

---

[API](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api.md) · [All operations](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mynextadventure/apis/mynextadventure-public-api/revisions/a246114e73a0?raw)
