canRescindAgreement
Check if an agreement can be rescinded. Returns false if the agreement has no rescission deadline, if that deadline has passed, or if the agreement has been revoked. An existing rescission for the agreement does not make this false, so a rescission already underway can use this to check whether to proceed.
Arguments
The ID of the agreement to check.
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.
query CanRescindAgreement($agreementId: Int!) {
canRescindAgreement(agreementId: $agreementId)
}
Variables
{
"agreementId": 65503652
}
Response
{
"data": {
"canRescindAgreement": true
}
}