Schedule Mutations

These mutations allow you to interact with schedule data.

createAppointment

Returns: Appointment

Create an appointment

Arguments

ArgumentTypeDescription
inputrequiredAppointmentInput!Input
Example Query
mutation($input: AppointmentInput!) {
createAppointment(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createAppointmentReminder

Arguments

ArgumentTypeDescription
inputAppointmentReminderInputInput data for appointment reminder operation
Example Query
mutation($input: AppointmentReminderInput) {
createAppointmentReminder(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createAppointmentType

Arguments

ArgumentTypeDescription
inputAppointmentTypeInputInput data for appointment type operation
Example Query
mutation($input: AppointmentTypeInput) {
createAppointmentType(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createAppointmentTypeTag

Arguments

ArgumentTypeDescription
inputAppointmentTypeTagInputInput data for appointment type tag operation
Example Query
mutation($input: AppointmentTypeTagInput) {
createAppointmentTypeTag(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createLocationProviderSchedule

Arguments

ArgumentTypeDescription
inputLocationProviderScheduleInputInput data for location provider schedule operation
Example Query
mutation($input: LocationProviderScheduleInput) {
createLocationProviderSchedule(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createLocationSchedule

Add a location schedule

Arguments

ArgumentTypeDescription
inputrequiredLocationScheduleInput!Input
locationIdrequiredID!ID of the location
Example Query
mutation(
$input: LocationScheduleInput!,
$locationId: ID!
) {
createLocationSchedule(
input: $input,
locationId: $locationId
) {
id
# Add other fields you need
}
}
Variables
{
"input": {},
"locationId": "1"
}

createScheduleRecurrence

Arguments

ArgumentTypeDescription
inputrequiredScheduleRecurrenceInput!Input
Example Query
mutation($input: ScheduleRecurrenceInput!) {
createScheduleRecurrence(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

createScheduleTemplate

Arguments

ArgumentTypeDescription
inputScheduleTemplateInputInput data for schedule template operation
Example Query
mutation($input: ScheduleTemplateInput) {
createScheduleTemplate(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

deleteAppointment

Returns: Appointment

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteAppointment(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteAppointmentReminder

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteAppointmentReminder(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteAppointmentType

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteAppointmentType(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteAppointmentTypeTag

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteAppointmentTypeTag(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteCustomLocationProviderSchedule

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteCustomLocationProviderSchedule(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteLocationProviderSchedule

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteLocationProviderSchedule(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteLocationSchedule

Deletes a location's schedule

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteLocationSchedule(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

deleteScheduleTemplate

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteScheduleTemplate(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

makeAppointmentTypeDefault

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
makeAppointmentTypeDefault(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

sendApptConfirmation

Returns: Appointment

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
sendApptConfirmation(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

setApptPickupTime

Returns: Appointment

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
pickupTimerequiredDateTime!Pickup time
textBooleanText
Example Query
mutation(
$id: ID!,
$pickupTime: DateTime!,
$text: Boolean
) {
setApptPickupTime(
id: $id,
pickupTime: $pickupTime,
text: $text
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"pickupTime": {},
"text": true
}

swapAppointmentStartTimes

Swap the start times of two appointments

Arguments

ArgumentTypeDescription
appointmentFromIdrequiredID!Source appointment ID for rescheduling
appointmentToIdrequiredID!Destination appointment ID for rescheduling
Example Query
mutation(
$appointmentFromId: ID!,
$appointmentToId: ID!
) {
swapAppointmentStartTimes(
appointmentFromId: $appointmentFromId,
appointmentToId: $appointmentToId
) {
id
# Add other fields you need
}
}
Variables
{
"appointmentFromId": "1",
"appointmentToId": "1"
}

textApptReady

Returns: Appointment

Arguments

ArgumentTypeDescription
appointmentIdrequiredID!ID of the appointment
Example Query
mutation($appointmentId: ID!) {
textApptReady(appointmentId: $appointmentId) {
id
# Add other fields you need
}
}
Variables
{
"appointmentId": "1"
}

updateAppointment

Returns: Appointment

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredAppointmentInput!Input
Example Query
mutation(
$id: ID!,
$input: AppointmentInput!
) {
updateAppointment(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateAppointmentIntake

Arguments

ArgumentTypeDescription
appointmentIdrequiredID!ID of the appointment
namerequiredString!Name of the resource
valueStringValue
Example Query
mutation(
$appointmentId: ID!,
$name: String!,
$value: String
) {
updateAppointmentIntake(
appointmentId: $appointmentId,
name: $name,
value: $value
) {
id
# Add other fields you need
}
}
Variables
{
"appointmentId": "1",
"name": "example",
"value": "example"
}

updateAppointmentType

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredAppointmentTypeInput!Input
Example Query
mutation(
$id: ID!,
$input: AppointmentTypeInput!
) {
updateAppointmentType(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateAppointmentTypeTag

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredAppointmentTypeTagInput!Input
Example Query
mutation(
$id: ID!,
$input: AppointmentTypeTagInput!
) {
updateAppointmentTypeTag(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateLocationHours

Returns: LocationHours

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredLocationHoursInput!Input
Example Query
mutation(
$id: ID!,
$input: LocationHoursInput!
) {
updateLocationHours(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateLocationProviderSchedule

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredLocationProviderScheduleInput!Input
Example Query
mutation(
$id: ID!,
$input: LocationProviderScheduleInput!
) {
updateLocationProviderSchedule(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateLocationSchedule

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredLocationScheduleInput!Input
Example Query
mutation(
$id: ID!,
$input: LocationScheduleInput!
) {
updateLocationSchedule(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateScheduleTemplate

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredScheduleTemplateInput!Input
Example Query
mutation(
$id: ID!,
$input: ScheduleTemplateInput!
) {
updateScheduleTemplate(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}