> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# MergeEnvironmentInput

> Input type for mergeEnvironment mutation



**Kind**: `input`

## Fields

**`destinationEnvironmentName`**: `String`

Name for the new environment if destinationEnvironmentSlug is not provided

---

**`destinationEnvironmentSlug`**: `String`

Slug of the destination environment to merge into. If not provided, a new environment will be created

---

**`destinationEnvironmentType`**: `EnvironmentType`

Type for the new environment if destinationEnvironmentSlug is not provided

---

**`mergeConfiguration`**: `EnvironmentMergeConfigurationInput`

Optional configuration to customize the merge process

---

**`migrationType`**: `PublishMigrationType`

How to migrate customers to newer plan version of updated plans. Default is not to migrate existing customers

---

**`sourceEnvironmentSlug`**: `String`

Slug of the source environment to merge from. Either this or sourceTemplate must be provided

---

**`sourceTemplate`**: `JSON`

A template dump of the source environment. Either this or sourceEnvironmentSlug must be provided



## Related topics

- [ValidateMergeEnvironmentInput](https://docs.stigg.io/graphql-reference/types/ValidateMergeEnvironmentInput.md)
- [EnvironmentMergeConfigurationInput](https://docs.stigg.io/graphql-reference/types/EnvironmentMergeConfigurationInput.md)
- [DumpEnvironmentForForMergeComparisonInput](https://docs.stigg.io/graphql-reference/types/DumpEnvironmentForForMergeComparisonInput.md)
- [MergeApplyStatusInput](https://docs.stigg.io/graphql-reference/types/MergeApplyStatusInput.md)
- [MergePreviewStatusInput](https://docs.stigg.io/graphql-reference/types/MergePreviewStatusInput.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.