---
title: "Clones an existing public order."
method: POST
path: "/order/{orderId}/clone"
tags: ["Order"]
---

# Clones an existing public order.

`POST /order/{orderId}/clone`

The order to clone must be marked as public.

## Path parameters

- `orderId` string, required

## Request body

- CloneOrderEndpointInput
  - `orderName` string, required — The name of the new cloned order.

## Response `200`

OK

- CloneOrderEndpointOutput
  - `datasetId` string, nullable — The dataset ID of the cloned order.
  - `orderId` string, required — The ID of the newly cloned order.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

---

[API](https://skmtc.net/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.net/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/versions/e42ec51c7b88/schema)
