createOrUpdateSiteworksAppointment
Create or update a Siteworks appointment.
Deprecation
The 'createOrUpdateSiteworksAppointment' field is deprecated.Please use createOnSiteJobsAppointmentWithoutBooking for appointment creation and updateOnSiteJobsAppointment for appointment updates.
- Marked as deprecated on 2026-09-08.
- Scheduled for removal on or after 2026-11-30.
Arguments
Input fields for creating or updating siteworks appointments.
Returns
CreateOrUpdateSiteworksAppointmentOutput type of the createOrUpdateSiteworksAppointment mutation.
- KT-CT-1112: 'Authorization' header not provided.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-13043: Cannot update appointment as it has terminal status.
- KT-CT-4231: Unauthorized.
- KT-CT-7899: An internal error occurred.
- KT-GB-4224: Error processing siteworks appointment.
- KT-GB-4230: Invalid data.
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 CreateOrUpdateSiteworksAppointment($input: CreateOrUpdateSiteworksAppointmentInput!) {
createOrUpdateSiteworksAppointment(input: $input) {
result {
...CreateOrUpdateSiteworksAppointmentOutputFragment
}
}
}
Variables
{
"input": CreateOrUpdateSiteworksAppointmentInput
}
Response
{
"data": {
"createOrUpdateSiteworksAppointment": {
"result": CreateOrUpdateSiteworksAppointmentOutput
}
}
}