terminateContract
Terminate an existing contract.
Arguments
Returns
TerminateContractOutput!Possible Errors
- KT-CT-10003: Contract not found.
- KT-CT-10007: Unable to terminate contract.
- KT-CT-10008: The contract is currently undergoing an active journey.
- KT-CT-10013: Requested termination date is invalid.
- KT-CT-10022: Contract already terminated.
- KT-CT-10023: Contract is already revoked.
- KT-CT-10024: Contract already expired.
- KT-CT-10025: Contract has not started yet.
- KT-CT-10037: Contract notes feature is disabled.
- KT-CT-10038: Contract note reason not found.
- KT-CT-10041: Contract is already rescinded.
- KT-CT-10044: Termination date must be after the contract start date.
- KT-CT-1113: Disabled GraphQL field requested.
- 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 TerminateContract($input: TerminateContractInput!) {
terminateContract(input: $input) {
contract {
...ContractFragment
}
}
}
Variables
{
"input": TerminateContractInput
}
Response
{
"data": {
"terminateContract": {
"contract": Contract
}
}
}