---
title: "Copy an existing Product Plan"
method: POST
path: "/product-plans/copy"
tags: ["Product Plans"]
---

# Copy an existing Product Plan

`POST /product-plans/copy`

Create a new Product Plan as a copy of an existing ACTIVE Product Plan accessible to the user. The new Product Plan inherits country prices, durations, and other fields from the source. The caller chooses a subset of features and automationDirectories — both must be subsets of the source's. The new Product Plan is created in ACTIVE status. Child Sales Partners are allowed to copy their own Product Plans. If the target Sales Partner has no active default Product Plan, the copy is automatically set as the default.

## Request body

- object
  - `productPlanId` integer, required — Id of the existing ACTIVE Product Plan to copy from
  - `name` string, required — Name of the new Product Plan
  - `description` string — Description of the new Product Plan
  - `features` string[] — Features for the new Product Plan. Must be a non-empty subset of the source Product Plan features.
  - `automationDirectories` string[] — Automation directories for the new Product Plan. Must be a non-empty subset of the source Product Plan automationDirectories.
  - `salesPartnerId` integer — Optional. Sales Partner id to own the new Product Plan. Defaults to the calling user's Sales Partner. If provided, must be the caller's Sales Partner or one of its child Sales Partners.

## Response `200`

Product Plan successfully copied

## Other responses

- `400` — Bad Request - The request was invalid or cannot be otherwise served
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - The request is understood, but has been refused or access is not allowed
- `404` — Not Found - The requested resource could not be found
- `409` — Conflict - The request conflicts with current state of the server

---

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