Skip to main content

Arguments

Input fields for cancelling a siteworks appointment.

Returns

CancelSiteworksAppointment

Cancel a Siteworks appointment. Can be called by account users and organisations.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can cancel siteworks appointments

Query Complexity

1

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

mutation CancelSiteworksAppointment($input: CancelSiteworksAppointmentInput!) { cancelSiteworksAppointment(input: $input) { siteworksAppointment { ...ActiveAppointmentTypeFragment } } }

Variables

Response

{ "data": { "cancelSiteworksAppointment": { "siteworksAppointment": ActiveAppointmentType } } }