Stay organized with collections
Save and categorize content based on your preferences.
Slot contains the information to identify an inventory slot.
Slot Definition
// An inventory slotmessageSlot{// ID of the merchant for the slot (required for CreateBooking)stringmerchant_id=1;// ID of the merchant Service (required for CreateBooking)stringservice_id=2;// Start time of the appointment slot in seconds of UTC time since Unix epoch.// (required for CreateBooking)int64start_sec=3;// Duration of the appointment slot (required for CreateBooking)int64duration_sec=4;// Opaque tag that identifies the availability slot and matches the value// provided in the availability feed (optional)stringavailability_tag=5;// The set of resources that disambiguates the appointment slot, e.g. by// indicating the staff member and room selected by the user (optional)ResourceIdsresources=6;// Indicates whether bookings of this slot will be confirmed// synchronously or asynchronously. (optional)// An UNSPECIFIED value will be interpreted as synchronous.ConfirmationModeconfirmation_mode=7;}
Resources Definition
// Resource specification that disambiguates an appointment slotmessageResourceIds{// The staff ID as provided in the feed or empty if not applicable or no staff// was selected. (optional)stringstaff_id=1;// The room ID as provided in the feed or empty if not applicable or no room// was selected. (optional)stringroom_id=2;// For Dining Reservations only: the number of seats requested in the booking.// (optional)int32party_size=3;}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-30 UTC."],[[["A `Slot` identifies an inventory slot with details like merchant and service IDs, start time, duration, and optional availability tag."],["`Slot` can include resource specifications using `ResourceIds` to further define the slot with staff, room, or party size information."],["Booking confirmation mode for a `Slot` can be specified, defaulting to synchronous if unspecified."]]],["A slot identifies an inventory space, requiring a merchant ID, service ID, start time (in seconds since Unix epoch), and duration (in seconds). It can optionally include an availability tag, resource identifiers (like staff or room IDs), and a confirmation mode (synchronous or asynchronous). Resource IDs may further specify a staff ID, room ID, and party size, if applicable. These fields are essential for booking and inventory management.\n"]]