Stampede

Booking

Booking is where you'll be able to create a booking interaction with a certain customer. This is great for applications that offer booking systems to hospitality venues.

Create a Booking

POST/v1/guests/:guest_id/booking

Request Body

NameTypeDescription
amountNumberTransaction amount in currencies lowest common denominator
currencyISO 4217
venue_idrequiredStringThe venue ID that the booking is applicable for. You obtain this from /venues path, attribute: id
event_idrequiredStringThe identifier of the booking, usually the ID of your booking within your application.
statusrequired'active' \'arrived' \
party_sizerequiredNumberThe number of covers for the booking.
metadataObjectOptional key-value object containing any other information that is related to the booking. For example, this could contain booking notes of the customer or any allergens.
starts_atrequiredISO 8601Start date and time of the booking
ends_atrequiredISO 8601End date and time of the booking
created_atString
updated_atString
typeStringThe type of booking for example "Drinks Room" or "Food Only".

Updating the Data of a Booking

As bookings over time change for example a party size increases or the status of the booking is updated, you will be able to use the event_id of your booking and resend the <mark style="color:green;">POST</mark> request with the updated data.