Copy
mutation EngagementCancel($id: EngagementGID!) {
engagementCancel(id: $id) {
engagement {
cancellable
createdAt
id
owner
shortId
type
clients {
email
firstName
lastName
middleName
phoneNumber
}
... on PurchaseEngagement {
closingDate
property {
address {
city
country
latitude
longitude
postalCode
province
shortTitle
street
title
unitNumber
}
}
status {
state
}
}
... on RefinanceEngagement {
closingDate
property {
address {
city
country
latitude
longitude
postalCode
province
shortTitle
street
title
unitNumber
}
}
status {
state
}
}
}
userErrors {
code
field
message
}
}
}
Copy
{
"data": {
"engagementCancel": {
"engagement": {
"cancellable": true,
"createdAt": "2025-01-15T10:30:00Z",
"id": "gid://ownright/Engagement/1",
"owner": "Jane Doe",
"shortId": "ABC-123",
"type": "PURCHASE",
"clients": [
{
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"middleName": "M",
"phoneNumber": "+14165551234"
}
],
"closingDate": "2025-06-15",
"property": {
"address": {
"city": "Toronto",
"country": "CANADA",
"latitude": 1,
"longitude": 1,
"postalCode": "M5V 1A1",
"province": "ALBERTA",
"shortTitle": "123 Main St, Toronto",
"street": "123 Main St",
"title": "123 Main St, Toronto",
"unitNumber": "Suite 100"
}
},
"status": {
"state": "CANCELLED"
}
},
"userErrors": []
}
}
}
Mutation field
engagementCancel
Arguments
The GID of the engagement to cancel.
Return fields
The cancelled engagement.
Show properties
Show properties
Whether the engagement can be cancelled.
The time the engagement was created.
The unique identifier of the engagement.
The name of the engagement owner.
A short human-readable identifier for the engagement.
The type of the engagement.
Types
Copy
enum EngagementCancelUserErrorCode {
ENGAGEMENT_NOT_CANCELLABLE # The specified engagement cannot be cancelled.
ENGAGEMENT_NOT_FOUND # The specified engagement could not be found.
}
enum EngagementType {
PURCHASE # A purchase engagement.
REFINANCE # A refinance engagement.
}
scalar EngagementGID # A global identifier for a Engagement object in format of 'gid://ownright/Engagement/ID'.
scalar ISO8601DateTime # An ISO 8601-encoded datetime