Partners participating in the waitlist program must complete the account Setup before they begin. However, some steps in the general guide aren't necessary for use of the waitlist feature. The guidelines on this page explain what steps apply to partners interested in using the waitlist feature on Reserve with Google. We suggest that you read through this overview before going through the integration steps.
Figure 1 outlines the process to launch your waitlist-enabled merchants on Reserve with Google.
Overall, the major data flows between you (the Partner) and Google are captured in Figure 2:
Guidelines for all waitlist partners
Keep the following in mind as you implement the waitlist feature:
- The service for every waitlist merchant must have waitlist_rules populated.
- Sending out SMS updates is required for the waitlist implementation in
the following cases:
- To confirm the user has successfully joined the waitlist.
- To notify the user that their table is ready.
- SMS messages must contain a link to a page where users can view their waitlist status.
- Waitlist-only merchants do not need to provide availability feeds to Reserve with Google.
- Your booking server must implement all the waitlist-specific steps listed in Implement the booking server. Partners that support both reservations and waitlists can add on the new methods to their existing booking server.
- Reserve with Google runs a set of test cases for the waitlist methods in the booking server.
Common edge cases
The following are common edge cases in a waitlist integration and preferred solutions for them.
- If some (but not all) party sizes are not accepting new waitlist
additions because there is no wait on these party sizes then returning
WaitEstimatesfor all party sizes in the
BatchGetWaitEstimatesresponse and allowing users to join the waitlist for these party sizes with no wait is preferred.
- If one or more party sizes are not accepting new waitlist additions
because the wait has become too long then omitting
WaitEstimatesfor those party sizes in the
BatchGetWaitEstimatesresponse is preferred.
These approaches are preferred since they give the user options even though the merchant's waitlist may not be fully open.
Guidelines for waitlist-only partners
Keep the following in mind if the booking server is used only for waitlists:
- Waitlist-only partners don't provide availability feeds to Reserve with Google.
- Waitlist-only partners do not implement the reservation methods in their booking server. Instead, you Implement the booking server with the instructions for the Waitlist implementation.
- Waitlist-only partners do not make API calls to Google. This means that waitlist-only partners do not need to set up a cloud project or provide a developer email address. You do not need to complete Real-time API updates. However, merchant and service feeds still need to be provided to Reserve with Google.
Guidelines for partners whose merchants must manually accept/reject waitlist additions
If your merchants require the ability to manually accept or reject new waitlist additions from Google, extra steps are required:
- Set the
wait_estimatefor party sizes which require manual confirmation. This must be set in the
- Waitlist entries that have been requested by the user, but not yet
accepted by the merchant should be in state
Waitlist test cases
Google tests the following use cases to ensure the functionality of the waitlist methods in your booking server implementation. Google also tests and monitors latency. All of these tests must pass prior to launch.
- Wait estimates are returned for each party size requested in a
- For party sizes which the merchant has the option to accept or reject
new waitlist additions, set waitlist_confirmation_mode to
Waitlist entry creation
- A waitlist entry can be created from a
- If waitlist entry creation fails, a business logic error shows up in the response.
- If a
CreateWaitlistEntryattempt succeeds, the same response is returned when the same
CreateWaitlistEntryis received again.
- If a
CreateWaitlistEntryattempt fails, the server retries when the same
CreateWaitlistEntryis received again.
- Waitlist entries show up in the merchant's interface.
- Calls to
GetWaitlistEntrysuccessfully return the created waitlist entry.
Waitlist entry states and timestamps
- Verify that each waitlist entry state is returned properly in the waitlist entry of
- Verify that each state timestamp is set in the appropriate timestamp field of the waitlist
Waitlist entry deletion
- Existing waitlist entries can be deleted. The response to a successful
delete must be the empty proto
- Verify that opted out merchants are treated as described in Merchant opt out.
Sample waitlist service feed (JSON)Waitlist service feed
Merchant opt out
Google expects certain responses for merchants that previously had waitlists enabled but have decided to opt out.
Immediate opt out
- Return CLOSED_OTHER for BatchGetWaitEstimates requests.
- Return WAITLIST_CLOSED for CreateWaitlistEntry requests.
- Return GetWaitlistEntry requests properly for users who are already on the waitlist.
Extended opt out
- Remove the waitlist_rules from the service feed for the merchant if the merchant is not opting out of reservations.
- Remove the merchant from the merchant feed if they opt out of all Google integrations.