Skip to content
gist.link ↗

updateBookingPage

Mutation Calendar API — POST https://calendar.api.gist.link/graphql

The updateBookingPage mutation on the Calendar API.

calendar:mutation:updateBookingPage

The calling IAM key must hold this permission (or a wildcard that covers it: calendar:mutation:* or calendar:*) and the access token must have been minted with audience=calendar. See Permissions.

type Mutation {
updateBookingPage(id: ID!, input: BookingPageInput!): BookingPage!
}
Argument Type Required Description
id ID! Yes —
input BookingPageInput! Yes —

BookingPage! — see the Calendar types reference.

Terminal window
curl https://calendar.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation UpdateBookingPage($id: ID!, $input: BookingPageInput!) { updateBookingPage(id: $id, input: $input) { id calendarId slug title description durationMinutes bufferBeforeMinutes bufferAfterMinutes } }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab",
"input": {
"calendarId": "01a01234-abcd-7000-9000-0123456789ab",
"slug": "example",
"title": "Example",
"durationMinutes": 10,
"windows": [
{
"weekday": 10,
"startTime": "example",
"endTime": "example"
}
]
}
}
}
JSON