restorePreviousAgreement
Restore the agreement that was in place immediately before a rescinded
agreement started.
This mutation reopens the previous agreement, restoring the customer to
the state they were in before the rescinded agreement.
Arguments
Input fields for restoring the previous agreement.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-14101: Agreement rescission not found.
- KT-CT-14106: No previous agreement to restore.
- KT-CT-14107: Previous agreement has already ended.
- KT-CT-14108: Previous agreement cannot be reopened.
- KT-CT-14109: Supply point bundle agreements are not supported.
- KT-CT-14110: The provided reason is too long.
- KT-CT-14111: Agreement rescission is not in progress.
- KT-CT-7899: An internal error occurred.
Can query agreements Can query agreement rescissions Can update agreeements Can update agreement rescissions
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 RestorePreviousAgreement($input: RestorePreviousAgreementInput!) {
restorePreviousAgreement(input: $input) {
agreementRescission {
...AgreementRescissionTypeFragment
}
restoredAgreement {
...CommonAgreementTypeFragment
}
}
}
Variables
{
"input": RestorePreviousAgreementInput
}
Response
{
"data": {
"restorePreviousAgreement": {
"agreementRescission": AgreementRescissionType,
"restoredAgreement": CommonAgreementType
}
}
}