Ajout d'options pour les groupes de plus de 10 personnes
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Si le nombre de personnes de la table d'un utilisateur dépasse le nombre maximal de personnes sur la liste d'attente, les partenaires peuvent activer l'option Au-delà du nombre maximal de personnes pour demander aux utilisateurs d'appeler le restaurant. Exemple :
Pour activer cette fonctionnalité, le partenaire doit modifier chaque service dans ses flux comme suit:
Une fois que call_merchant est ajouté à above_max_party_size_options (sans paramètres), nous extrayons le numéro de téléphone à partir des informations Google Maps du marchand et affichons l'alerte suivante lorsque max_party_size est atteint:
Pour les groupes de plus de Service.waitlist_rules.max_party_size,
veuillez appeler le restaurant au Google maps phone number.
Remarques
Le texte du message est fixe, car Google utilise ce format pour localiser automatiquement le message.
Pour le moment, il n'existe pas d'autre moyen de contacter le marchand que de l'appeler.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003ePartners can enable the \u003cstrong\u003eAbove Max Party Size\u003c/strong\u003e option to instruct users to call the restaurant for reservations exceeding the maximum party size.\u003c/p\u003e\n"],["\u003cp\u003eTo enable this, partners need to add \u003ccode\u003ecall_merchant\u003c/code\u003e to the \u003ccode\u003eabove_max_party_size_options\u003c/code\u003e field within their service feeds.\u003c/p\u003e\n"],["\u003cp\u003eGoogle will automatically display an alert with the restaurant's phone number (pulled from Google Maps) when the maximum party size is reached.\u003c/p\u003e\n"],["\u003cp\u003eThe alert message is fixed and automatically localized by Google for different languages.\u003c/p\u003e\n"],["\u003cp\u003eCurrently, calling is the only option available for users with large parties.\u003c/p\u003e\n"]]],["Partners can enable an \"Above Max Party Size\" option by modifying their service feeds. This involves adding `call_merchant` to the `above_max_party_size_options` within the `waitlist_rules`. When a user's party size exceeds the `max_party_size`, a message will appear instructing them to call the restaurant. The phone number is sourced from the merchant's Google Maps listing. This is the only current contact option. The system will localize the message automatically.\n"],null,["# Adding options for party sizes above the maximum\n\nIf a user's party is above the maximum waitlist party size, partners can\nenable the **Above Max Party Size** option to instruct users to\ncall the restaurant. Example:\n| **Important:** Verify that the Google Business Profile has a business phone number registered, or the message won't display.\n\n\nTo enable this feature, the partner must modify each service in their feeds as\nfollows: \n\n```scdoc\n{\n \"service\": [\n {\n \"merchant_id\": \"dining-1\",\n \"localized_service_name\": {\n \"value\": \"Reservation\",\n \"localized_value\": [\n {\n \"locale\": \"en\",\n \"value\": \"Reservation\"\n }\n ]\n },\n \"service_id\": \"reservation\",\n \"waitlist_rules\": {\n \"min_party_size\": \"2\",\n \"max_party_size\": \"6\",\n \"supports_additional_request\": true,\n \"above_max_party_size_options\": [\n {\n \"call_merchant\":{}\n }\n ]\n }\n }\n ]\n}\n```\n\n\nOnce `call_merchant` is added to\n`above_max_party_size_options` (**without**\nparameters), we'll pull the telephone from the merchant's Google Maps information, and\ndisplay the following alert when `max_party_size` has been\nreached:\nFor parties larger than `Service.waitlist_rules.max_party_size`, please call the restaurant at `Google maps phone number`.\n\n### Notes\n\n- The message text is fixed because Google utilizes this format to automatically localize the message.\n- There are no alternative options for contacting the merchant outside of calling at present."]]