Mutation
mutation DeleteBusinessHoursSchedule($input: DeleteBusinessHoursScheduleInput!) {
deleteBusinessHoursSchedule(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"businessHoursScheduleId": "id"
}
}Response
{
"data": {
"deleteBusinessHoursSchedule": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteBusinessHoursSchedule
Delete a business hours schedule and the slots belonging to it. Requires the businessHours:delete permission.
MUTATION
deleteBusinessHoursSchedule(input: DeleteBusinessHoursScheduleInput!): DeleteBusinessHoursScheduleOutput!Arguments
input
required
error
Mutation
mutation DeleteBusinessHoursSchedule($input: DeleteBusinessHoursScheduleInput!) {
deleteBusinessHoursSchedule(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"businessHoursScheduleId": "id"
}
}Response
{
"data": {
"deleteBusinessHoursSchedule": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

