# planDuplicate

Create a duplicate of a plan

**Scope required:** product:write

```graphql
mutation planDuplicate ($id: ID!) {
  planDuplicate (id: $id) {
      errors
      plan {
        addon
        allowMultipleSubscriptions
        availableFrom
        availableTo
        basePrice
        code
        contactUsLabel
        contactUsUrl
        createdAt
        customFieldsData
        description
        hasCustomFields
        id
        internalNotes
        isAvailableNow
        isVisible
        name
        position
        pricingDescription
        productId
        productPlanName
        selfServiceBuy
        selfServiceCancel
        selfServiceRenew
        updatedAt
      }
  }
}
```

## Arguments

```json
{
  "id": "456123"
}
```

| Name | Type | Description |
| ---- | ---- | ----------- |
| id   | ID   |             |

## Response

| Name   | Type                                                              | Description |
| ------ | ----------------------------------------------------------------- | ----------- |
| errors | List (String)                                                     |             |
| plan   | [Plan](https://docs.bunny.com/developer/api-reference/types/plan) |             |
