> ## 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.

# SubscriptionMigrationTask

> Subscription migration task



**Kind**: `object`

## Fields

**`affectedCustomersCount`**: `Int`

The number of customers that are affected by the subscription migration task

---

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`endDate`**: `DateTime`

The end date of the task

---

**`environmentId`**: `String!`

The unique identifier for the environment

---

**`id`**: `UUID!`

Unique identifier for the entity

---

**`initiatedPackageId`**: `String`

The id of the package that was initiated

---

**`migratedCustomersCount`**: `Int`

The number of customers that have been migrated

---

**`packages`**: `[PackageDTO!]!`

**Arguments:**

- `filter`: `PackageDTOFilter` = {} — Specify to filter the records returned.
- `sorting`: `[PackageDTOSort!]` = [{direction: DESC, field: createdAt}] — Specify to sort results.

---

**`progress`**: `Int!`

The progress of the task as a percentage, a number between 0 and 100

---

**`startDate`**: `DateTime`

The start date of the task

---

**`status`**: `TaskStatus!`

The status of the task

---

**`taskType`**: `TaskType!`

The type of the task



## Related topics

- [subscriptionMigrationTasks](https://docs.stigg.io/graphql-reference/queries/subscriptionMigrationTasks.md)
- [SubscriptionMigrationTaskConnection](https://docs.stigg.io/graphql-reference/types/SubscriptionMigrationTaskConnection.md)
- [SubscriptionMigrationTaskEdge](https://docs.stigg.io/graphql-reference/types/SubscriptionMigrationTaskEdge.md)
- [SubscriptionMigrationTaskFilter](https://docs.stigg.io/graphql-reference/types/SubscriptionMigrationTaskFilter.md)
- [SubscriptionMigrationTaskSort](https://docs.stigg.io/graphql-reference/types/SubscriptionMigrationTaskSort.md)


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