updateEnrollment
Update the supply points of an existing join supplier process. Only the requested supply start date can be updated at present.
Arguments
The input argument to update the supply points information that are enrolling.
- KT-CT-10332: Join supplier process not found.
- KT-CT-10370: Failed to update join supplier process - the service is not enabled.
- KT-CT-10371: Failed to update join supplier process.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-1602: Serializer validation error.
- KT-CT-1607: Value cannot be empty.
- KT-CT-4410: Invalid postcode.
- KT-CT-4412: The supplied address is not valid.
- KT-CT-6622: Unauthorized.
- KT-CT-7899: An internal error occurred.
Examples
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 UpdateEnrollment($input: UpdateEnrollmentInput!) {
updateEnrollment(input: $input) {
appliedUpdates {
...EnrollmentSupplyPointUpdateResultFragment
}
failedUpdates {
...EnrollmentFailedSupplyPointUpdateTypeFragment
}
noUpdatesRequired {
...EnrollmentSupplyPointUpdateResultFragment
}
number
}
}
Variables
{
"input": UpdateEnrollmentInput
}
Response
{
"data": {
"updateEnrollment": {
"appliedUpdates": [EnrollmentSupplyPointUpdateResult],
"failedUpdates": [EnrollmentFailedSupplyPointUpdateType],
"noUpdatesRequired": [EnrollmentSupplyPointUpdateResult],
"number": "thought-career-necessary-bit-always"
}
}
}