Skip to main content
POST
Create Booking
string
required
Your partner API key.

Request Body

string
Booking datetime in the venue’s local timezone. Format: yyyy-MM-dd HH:mmExample: "2024-06-15 19:00"At least one of time or bookingTimeAsUtc is required. Ignored if bookingTimeAsUtc is also provided.
string
Booking datetime in UTC. Format: yyyy-MM-ddTHH:mm:ssZExample: "2024-06-15T09:00:00Z"At least one of time or bookingTimeAsUtc is required. When provided, this takes precedence over time.
integer
required
Number of guests in the party.
string
NowBookIt Service ID to assign this booking to (e.g., "Dinner" service). Fetch available services from your NowBookIt venue configuration.
string
NowBookIt Section ID (area of the venue, e.g., main floor, terrace).
string
Your POS’s external booking identifier. Stored in NowBookIt for cross-reference.
string
Free-text booking notes (e.g., dietary requirements, special requests).
string
Initial booking status from your POS. See GET /Resources/booking-statuses for valid values.
integer
Duration of the booking in minutes.
string
ID of the staff member managing the booking.
string
Name of the staff member managing the booking.
array
List of NowBookIt Table IDs to assign to this booking. Fetch available table IDs using GET /Bookings/tables.Example: ["tbl_001", "tbl_002"]
object
Guest/customer details.
Optional external links to associate with the booking (e.g., order URLs, reservation links).
Either time or bookingTimeAsUtc is required. If both are provided, bookingTimeAsUtc takes precedence.

Response

string
The NowBookIt-assigned booking ID for the newly created booking.
string
Confirmed booking time in venue local timezone.
integer
Confirmed party size.
string
Status of the booking after creation.
integer
Confirmed duration in minutes.
array
Names of tables assigned to this booking.
string
NowBookIt service ID assigned to this booking.
string
Human-readable service name.
string
NowBookIt section ID assigned to this booking.
boolean
true if the booking was created successfully.
string
Error detail when isSuccess is false. null on success.

Examples

Example Response (201)


Status Codes

Authorizations

X-API-KEY
string
header
required

Headers

X-API-KEY
string
required

API Key authentication header

Body

application/json
numOfPeople
integer<int32>
required

The number of guests on booking.

Required range: 1 <= x <= 2147483647
time
string | null

Booking Date and time in Venue's Timezone. Valid Format: 'yyyy-MM-dd HH:mm'

bookingTimeAsUtc
string | null

Booking Date and time in UTC Timezone. Valid Format: 'yyyy-MM-ddTHH:mm:ssZ'

bookingId
string | null
serviceId
string | null
sectionId
string | null
customer
object
notes
string | null
tables
string[] | null

Nominate NBI Table Ids for this Booking.

status
string | null
duration
integer<int32> | null

The Booking duration in Minutes.

staffId
string | null
staffName
string | null

Response

Create new Booking from API

bookingId
string | null

The new NBI Booking Id.

time
string<date-time>

The Booking Date and Time.

numOfPeople
integer<int32>
bookingStatus
string | null
duration
integer<int32>
tableNames
string[] | null
serviceId
string | null
serviceName
string | null
sectionId
string | null
isSuccess
boolean
errorMessage
string | null