Lock Reservation
Create a pending reservation to lock in rates and availabilities for a specific property. This endpoint allows you to temporarily hold a reservation before confirming it, ensuring the rates and room availability are secured for a short period.
Pending Reservation Workflow:
Call this endpoint to create a pending reservation
The response includes a
bookingReferenceIdandexpiresInMinutesComplete payment collection from the guest
Call
/reservations/{bookingReferenceId}/confirmationbefore expirationIf not confirmed within the expiration window, the reservation is automatically released
Room Allocation Rules:
Maximum 10 rooms per reservation
Each room must specify
roomRateUuid,adults, andchildrencountThe
roomRateUuidmust correspond to a valid rate returned from property search endpointsOccupancy (
adults+children) should not exceed the room type's maximum capacityUse
applyDealper room to selectively apply deal rates when adealCodeis specified
Deal Application:
Set
dealCodeat the reservation level to apply a dealUse
applyDeal: truefor specific rooms to apply the deal rate to those roomsRooms with
applyDeal: falseornullwill use standard rates even if a deal code is specifiedThis allows mixed bookings with both deal and non-deal rooms
The unique identifier of the property for which the reservation is being made
The api id for channel
The api key for channel
The arrival date. Must be within 500 days in the future and in the format yyyy-mm-dd.
The departure date. Must be later than checkin. Must be between 1 and 30 days after checkin. Must be within 500 days in the future and in the format yyyy-mm-dd.
The code of any deal to be applied to the reservation. If null, no deal will be applied.
Indicates whether net invoicing should be applied to the reservation. When set to true, the commission is deducted from the booking amount, and the property receives the net amount (total minus commission).
falseSuccessful response. A pending reservation has been created.
Invalid request
Unauthorized
The specified resource was not found
Unexpected error occurred
POST /properties/{uuid}/reservations HTTP/1.1
x-sm-api-id: text
x-sm-api-key: text
Content-Type: application/json
Accept: */*
Content-Length: 162
{
"checkin": "2026-01-01",
"checkout": "2026-01-01",
"dealCode": "text",
"netInvoicing": false,
"rooms": [
{
"roomRateUuid": "text",
"adults": 1,
"children": 1,
"applyDeal": true
}
]
}{
"propertyUuid": "text",
"propertyEmail": "text",
"propertyPhoneNumber": "text",
"bookingReferenceId": "text",
"expiresInMinutes": 1,
"currencyCode": "text",
"paymentTotal": 1,
"paymentTotalLessCommission": 1,
"taxes": [
{
"name": "text",
"amount": 1
}
],
"fees": [
{
"name": "text",
"amount": 1
}
],
"rooms": [],
"licenses": [
{
"licenseType": "property",
"licenseNumber": "text",
"licenseIssueDate": "text"
}
],
"cancellationPolicy": {
"policyType": "non-refundable",
"freeCancellationUntilDays": 1
}
}If using a Virtual Credit Card you must adhere to the following rules:
VCC Activation Date:
Must be on or before the last acceptable cancellation date
If the reservation is non refundable, must be on or before the booking date
Note: The last acceptable cancellation date is calculated by CheckinDate minus freeCancellationUntilDays
VCC Deactivation Date:
Must be at least 7 days after checkout date
Still have questions?
Use the Ask button at the top of the page to chat with our AI assistant — it can help you navigate the guide, understand requirements, and troubleshoot issues.
If you need more support, visit Integration Support.
Last updated
Was this helpful?