enrollment
Initiate an enrollment for an account and a set of supply points.
Arguments
The Enrollment Input data for the Join Supplier.
Possible Errors
- KT-CT-10302: Invalid data.
- KT-CT-10312: Mutation not enabled in this environment.
- KT-CT-10313: Failed to enroll account.
- KT-CT-10314: This supply point is already on supply.
- KT-CT-10315: Unable to begin enrollment journey due to invalid data.
- KT-CT-10340: House move enrollment is not enabled.
- KT-CT-10356: A join supplier process is already linked to the house move.
- KT-CT-10357: The house move enrollment has multiple supply points for a single market.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1602: Serializer validation error.
- KT-CT-4410: Invalid postcode.
- KT-CT-4412: The supplied address is not valid.
- KT-CT-4501: Unauthorized.
- KT-CT-6622: Unauthorized.
- KT-CT-7719: Session not found.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation Enrollment($input: EnrollmentInput!) {
enrollment(input: $input) {
enrollmentProcesses {
... on JoinSupplierProcessType {
...JoinSupplierProcessTypeFragment
}
... on OccupyPropertyProcessType {
...OccupyPropertyProcessTypeFragment
}
}
message
}
}
Variables
{
"input": EnrollmentInput
}
Response
{
"data": {
"enrollment": {
"enrollmentProcesses": JoinSupplierProcessType,
"message": "economy-design-now-serious-appear"
}
}
}