Rate Plan
Returns a rate plan's details.
Retrieve a specific rate plan's details.
Authorizations
x-sm-api-keystringRequired
Path parameters
propertyUuidstringRequired
UUID for a property.
uuidany ofRequired
UUID for a rate plan.
string · uuidOptional
string · min: 10OptionalPattern:
^[a-zA-Z0-9]+$Header parameters
x-sm-api-keystringRequired
API key used to authenticate the request.
Responses
200
Successful operation
application/json
uuidany ofRequired
Unique identifier for the rate plan.
string · uuidOptional
string · min: 10OptionalPattern:
^[a-zA-Z0-9]+$namestringRequired
Name of the rate plan.
descriptionstring · nullableRequired
Description of the rate plan.
mobileOnlybooleanRequired
Whether the rate plan is only available to mobile bookers.
daysAvailableinteger[] · min: 1 · max: 7Required
Days of the week the rate plan is available for stays, 0 (Sunday) to 6 (Saturday). Every night of the stay must fall on one of these days.
400
Bad Request
application/json
401
Not Authorised
application/json
403
Access Denied
application/json
404
The specified resource was not found
application/json
429
Rate Limited
application/json
500
Internal Server Error
application/json
get/properties/{propertyUuid}/rate-plans/{uuid}
GET /properties/{propertyUuid}/rate-plans/{uuid} HTTP/1.1
x-sm-api-key: text
Accept: */*
{
"uuid": "c7c7d0d1-3333-4a3a-9a3a-222222222222",
"name": "Advance Purchase",
"description": "Book 7 days in advance and receive our cheapest deal.",
"mobileOnly": false,
"maxAdvanceBooking": {
"type": "before-check-in",
"numberOfDays": 3
},
"daysAvailable": [
0,
1,
2,
3,
4,
5,
6
],
"applicableDates": {
"dateRanges": [
{
"fromDate": "2026-09-01",
"toDate": "2026-09-30"
}
],
"excludedDateRanges": [
{
"fromDate": "2026-09-07",
"toDate": "2026-09-08"
}
]
},
"advertisedDates": {
"dateRanges": [
{
"fromDate": "2026-08-01",
"toDate": "2026-08-30"
}
],
"excludedDateRanges": []
},
"lengthOfStayDiscounts": [
{
"stay": 5,
"discountPercentage": 30
}
]
}Last updated
Was this helpful?