Skip to content

cancelBooking

cancelBooking(booking: ID!): CancelBookingResult!

Cancel a booking and, under the activity's cancellation policy, return the money and the credits it consumed. Booking.cancellationPreview says what this will do before it is called.

Arguments

bookingID!

Returns

CancelBookingResult!

See CancelBookingResult for the full shape.

Try it

Authentication
Example
Query
mutation CancelBooking($booking: ID!) {
  cancelBooking(booking: $booking) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql