Google Maps Booking API
  • Google Maps Booking API
Documentation
  • Verticals
  • Beauty
  • Dining
  • Fitness
  • Financial Services
  • Food Ordering
  • Healthcare
  • Local Service Ads
  • Retail Ordering
  • Legacy
Policies Partner Portal Support Announcements
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
  • Legacy
Guides Reference Samples
Google Maps Booking API
  • Google Maps Booking API
  • Documentation
    • More
    • Guides
    • Reference
    • Samples
  • Policies
  • Partner Portal
  • Support
  • Announcements
  • Legacy summary
  • Starter integration
    • Feeds
  • Booking server
    • Booking server API v2
    • Booking server API v0
  • Healthcare starter integration
    • Overview
    • Setup
    • Feeds
    • Conversion tracking feed
    • Pilot and launch
  • Tutorials
    • Set cancellation windows v0
    • Specify action links
    • Differentiate between Food Ordering, Delivery, and Takeout Action Links
    • Google Analytics Based Conversion Tracking
    • Google Tag Manager Based Conversion Tracking
    • Shard feed files
    • Specify localized texts
  • Verticals
  • Beauty
  • Dining
  • Fitness
  • Financial Services
  • Food Ordering
  • Healthcare
  • Local Service Ads
  • Retail Ordering
  • Legacy
  • Home
  • Products
  • Maps Booking API
  • Legacy
  • Documentation

Set Cancellation Windows v0 (legacy)

Slot-level cancellation windows can be enabled by returning the last_online_cancellable_sec field in CheckAvailability responses. For example:

JSON

    /v3/CheckAvailability Response JSON:
{
slot {[...]},
count_available: 1,
last_online_cancellable_sec: 1552930200
}
 

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-10-01 UTC.

  • Blog Blog
    Read about the latest updates, customer stories, and tips.
  • Product Info

    • Terms of Service
  • Programs

    • Women Techmakers
    • Google Developer Groups
    • Google Developers Experts
    • Accelerators
    • Google Developer Student Clubs
  • Developer consoles

    • Google API Console
    • Google Cloud Platform Console
    • Google Play Console
    • Firebase Console
    • Actions on Google Console
    • Cast SDK Developer Console
    • Chrome Web Store Dashboard
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Sign up for the Google Developers newsletter Subscribe
  • English
  • Bahasa Indonesia
  • Deutsch
  • Español
  • Español – América Latina
  • Français
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어