Skip to content
bookingActivityNextAvailabilityQuery
bookingActivityNextAvailability(activity: ID!, after: DateTime!): DateTime

The start of the earliest open booking increment strictly after after (scanning forward up to a bounded horizon), so a booking calendar can jump the customer to the next day/week that actually has availability. Null when there's none within the horizon, the activity isn't bookable, or the appointments feature is off.

Arguments

activityID!
afterDateTime!

Returns

DateTime

Try it

Example
Query
query BookingActivityNextAvailability($activity: ID!, $after: DateTime!) {
  bookingActivityNextAvailability(activity: $activity, after: $after) {
    __typename
  }
}
Variables
{}
POST https://go.sessions.website/api/graphql
bookingActivityNextAvailability