Reservation Object


The reservation domain object.

Properties
idstringRead-onlyformat GUID

Reservation ID.


statusstring

Status of the reservation.

See the Reservation Lifecycle article(REST | SDK) for an explanation of the role of statuses in the reservation lifecycle.


sourcestring

Reservation source.

This indicates how the reservation was made.


detailsDetails

Reservation details.


reserveeReservee

Information about the person the reservation is being made for.

A reservation created with any source other than WALK_IN requires the reservation.reservee.phone and reservation.reservee.firstName fields. Attempting to create a reservation without these fields results in an error.


reservedByReservedByRead-only

Information about the person making the reservation.

This field is required if the reservation's status is anything other than WALK_IN.


teamMessagestringmaxLength 10000

Team message.

A message for the restaurant staff containing any additional information regarding the reservation, such as special requirements for the guests.


createdDatestringRead-onlyformat date-time

Date and time the reservation was created.


updatedDatestringRead-onlyformat date-time

Date and time the reservation was changed.


revisionintegerRead-onlyformat int64

Revision number, which increments by 1 each time the reservation is updated. To prevent conflicting changes, the current revision must be specified when updating the reservation.

Ignored when creating a reservation.


declineReasonstringmaxLength 1000

The reason the reservation was declined.


paymentStatusstringRead-only

Payment status.


extendedFieldsExtendedFields

Custom field data for the reservation object.

Extended fields must be configured in the app dashboard before they can be accessed with API calls.

Did this help?