---
title: "Reorder destinations within a variant."
method: POST
path: "/v1/trips/{id}/variants/{variantId}/destinations/reorder"
tags: ["Public API v1"]
---

# Reorder destinations within a variant.

`POST /v1/trips/{id}/variants/{variantId}/destinations/reorder`

## 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/reorder`
- Auth: API key in header `X-API-Key`

## Path parameters

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

## Request body

- ReorderDestinationsV1Dto
  - `order` string[], required: Destination keys in the desired new order. Keys not present are sorted to the front in their existing relative order.

## Response `200`

Destinations reordered.

## Other responses

- `404`: Trip or variant 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)
