Skip to main content
PATCH
/
Bookings
/
{bookingId}
/
updatepax
PATCH /Bookings/{bookingId}/updatepax
curl --request PATCH \
  --url https://{base_url}/Bookings/{bookingId}/updatepax \
  --header 'Content-Type: <content-type>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "pax": 123
}'
Update the party size for an existing booking.
X-API-KEY
string
required
Your API key
Content-Type
string
required
Must be application/json
bookingId
string
required
The NowBookIt Booking ID to update
pax
integer
required
Updated number of guests. Must be greater than 0.
curl --location --request PATCH '[BASE_URL]/Bookings/{bookingId}/updatepax' \
--header 'X-API-KEY: your_api_key_here' \
--header 'Content-Type: application/json' \
--data '{ "pax": 6 }'
Example 200 Response
{ "bookingId": "abc-123", "bookingRef": "REF-001", "amountSpent": 50.00, "status": "Confirmed", "pax": 6 }
FieldTypeDescription
bookingIdstringNowBookIt booking ID
bookingRefstringBooking reference
amountSpentnumberAmount spent on this booking
statusstringCurrent booking status
paxintegerUpdated number of guests
StatusDescription
200Party size updated
400The value of Pax must be greater than 0
400loggedInAppId
400No Venue Subscribed to your App.
401X-API-KEY missing or invalid
404bookingId: {bookingId} not found
500Internal server error