Public API v1

Update fields on a destination.

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

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

Path parameters

idstring required
variantIdstring required
destinationKeystring required

Request body

destinationstring

New place name.

isReturnToHomeboolean

Toggle return-to-home semantics.

startDatestring date-time

Arrival date at this destination. Pass null to clear.

endDatestring date-time

Departure date from this destination. Pass null to clear.

notesstring

New free-form notes.

Response

destinationstring required
destinationKeystring required
isReturnToHomeboolean
startDatestring date-time

Arrival date at this destination.

endDatestring date-time

Departure date from this destination.

selectedAccommodationstring
selectedTransportOptionstring
selectedGettingAroundOptionstring
notesstring

Changes

No recorded changes to this operation across all 1 revision of this API.