// An update to one ore more slots indicating that the availability for the// associated time has potentially changed.messageAvailabilityUpdate{repeatedSlotAvailabilityslot_availability=1;}
// An inventory slot and associated count of open spots.messageSlotAvailability{Slotslot=1;// Number of available spots.// 0 indicates that the appointment slot is not available. (required)int32count_available=2;}
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).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eCheckAvailability\u003c/code\u003e method, which is used to verify the availability of a specific appointment slot.\u003c/p\u003e\n"],["\u003cp\u003eThe method has been deprecated and new integrations should use \u003ccode\u003eBatchAvailabilityLookup\u003c/code\u003e instead.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCheckAvailabilityRequest\u003c/code\u003e requires a \u003ccode\u003eSlot\u003c/code\u003e to be provided, and the \u003ccode\u003eCheckAvailabilityResponse\u003c/code\u003e includes the requested \u003ccode\u003eSlot\u003c/code\u003e and the number of \u003ccode\u003ecount_available\u003c/code\u003e spots.\u003c/p\u003e\n"],["\u003cp\u003eThe response also can provide additional \u003ccode\u003eAvailabilityUpdate\u003c/code\u003e information and indicates if the duration is required to be shown to the user, through a deprecated \u003ccode\u003eduration_requirement\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSlotAvailability\u003c/code\u003e message shows how many spots are open for a specified \u003ccode\u003eSlot\u003c/code\u003e, and also has the ability to identify a slot as unavailable using a count of 0.\u003c/p\u003e\n"]]],["The `CheckAvailabilityRequest` verifies if a requested appointment `Slot` is valid and available. The `CheckAvailabilityResponse` returns the `Slot`, the number of `count_available` spots, and optionally, an `availability_update` with potentially changed availability for the merchant. `count_available` of 0 means the `slot` is unavailable. The response also includes `DurationRequirement`. The method `CheckAvailability` is deprecated, use `BatchAvailabilityLookup` for new integrations.\n"],null,[]]