cancelContract
Cancel a contract for a given supply point and send confirmation email to the customer.
Arguments
Input variables needed for cancelling the contract.
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 CancelContract($input: CancelContractInput!) {
cancelContract(input: $input) {
cancelledContract
lastDayOfSupply
}
}
Variables
{
"input": CancelContractInput
}
Response
{
"data": {
"cancelContract": {
"cancelledContract": true,
"lastDayOfSupply": "1996-07-05"
}
}
}