Modify Reservation

patch

Modify an existing reservation. This endpoint allows updating guest information for the primary guest and individual room guests. Note that this endpoint can only modify non-price impacting details of the reservation.

Path parameters
bookingReferenceIdstringRequired

The unique identifier of the reservation to be modified

Header parameters
x-sm-api-idstringRequired

The api id for channel

x-sm-api-keystringRequired

The api key for channel

Body
guestTitlestring | nullableOptional

The title of the primary guest (e.g., Mr., Mrs., Ms., Dr.)

guestFirstNamestring | nullableOptional

The first name of the primary guest

guestLastNamestring | nullableOptional

The last name of the primary guest

guestEmailstring | nullableOptional

The email address of the primary guest

guestPhoneNumberstring | nullableOptional

The phone number of the primary guest

guestAddressstring | nullableOptional

The street address of the primary guest

guestCitystring | nullableOptional

The city of residence for the primary guest

guestStatestring | nullableOptional

The state or region of residence for the primary guest

guestPostcodestring | nullableOptional

The postal or zip code of the primary guest

guestCountrystring | nullableOptional

The country of residence for the primary guest

guestRemarksstring | nullableOptional

Any additional remarks or special requests from the primary guest

Responses
200
Successful response. The reservation has been modified successfully.
patch
PATCH /reservations/{bookingReferenceId} HTTP/1.1
Host: 
x-sm-api-id: text
x-sm-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 361

{
  "guestTitle": "text",
  "guestFirstName": "text",
  "guestLastName": "text",
  "guestEmail": "text",
  "guestPhoneNumber": "text",
  "guestAddress": "text",
  "guestCity": "text",
  "guestState": "text",
  "guestPostcode": "text",
  "guestCountry": "text",
  "guestRemarks": "text",
  "rooms": [
    {
      "roomUuid": "text",
      "guestTitle": "text",
      "guestFirstName": "text",
      "guestLastName": "text",
      "guestRemarks": "text"
    }
  ]
}

No content

Last updated

Was this helpful?