---
title: bookingIdentifier
framework: intents
role: symbol
role_heading: Instance Property
path: intents/inbookrestaurantreservationintent/bookingidentifier
---

# bookingIdentifier

The unique identifier associated with the initial reservation data.

## Declaration

```swift
var bookingIdentifier: String? { get set }
```

## Discussion

Discussion Prior to booking, your Intents extension provides a set of potential reservation options in the form of INRestaurantReservationBooking objects, each of which contains a unique booking identifier. When the user selects a reservation time, this property receives the booking identifier from the corresponding INRestaurantReservationBooking object. Use that value to get the details about the reservation option chosen by the user.

## See Also

### Getting the Booking Details

- [bookingDateComponents](intents/inbookrestaurantreservationintent/bookingdatecomponents.md)
- [partySize](intents/inbookrestaurantreservationintent/partysize.md)
- [guest](intents/inbookrestaurantreservationintent/guest.md)
