Skip to content

Customer Revoke Future Agreements

Revokes all future agreements for an account provided they have no charges against them.

In order to recieve a new quote, there must be no future agreements associated with the account.

Authentication required

Requires account user level access or CAN_ADMINISTER_ACCOUNT permission.

Arguments

Returns

1
2
3
4
5
mutation customerRevokeFutureAgreements($input:CustomerRevokeFutureAgreementsInput!){
    customerRevokeFutureAgreements(input:$input){
        successfulRevocation
    }
}
1
2
3
4
5
6
# Input variables
{
    "input": {
        "accountNumber": STRING
    }
}

Example

1
2
3
4
5
mutation customerRevokeFutureAgreements($input:CustomerRevokeFutureAgreementsInput!){
    customerRevokeFutureAgreements(input:$input){
        successfulRevocation
    }
}
1
2
3
4
5
6
# Input variables
{
    "input": {
        "accountNumber": "A-123456"
    }
}
{
  "data": {
    "customerRevokeFutureAgreements" {
        "successfulRevocation": true
    } 
  }
}
Expected error messages
  • KT-CT-4617
    • Error thrown if one or more future agreements cannot be revoked, usually due to the agreement having prexisting charges.
Back to top