OnSeasonChannel API

Get a listing

Get the full content of one listing.

GET/api/v1/listing/{listingID}

Returns one listing with the same model as List listings.

Path parameters

ParameterTypeDescription
listingIDUUIDOnSeason listing ID.

Query parameters

ParameterTypeDescription
displayCurrencystringISO 4217 currency for price fields.

Example

curl --get \
  "https://zepl-staging.calry.app/api/v1/listing/80e0e6d4-48cf-4ca7-8c85-6e8d7e9d969a" \
  --header "x-calry-api-key: <API_KEY>" \
  --data-urlencode "displayCurrency=EUR"

The response is one listing object. List listings shows a full example.

Response

FieldDescription
idOnSeason listing ID. Search, availability, quote, and reservation all take this ID.
providerIDListing ID in the source PMS. Opaque.
name, descriptionPublic title and description.
typeProperty category, such as Apartment, House, Hotel, or Villa.
propertyTypeUnit model: SINGLE_UNIT, MULTI_UNIT, or COMPLEX.
thumbnailURL, picturesMain image and image set. Each picture has a url and an optional description.
address, latitude, longitudeAddress and map coordinates.
minimumNights, maximumNightsGeneral stay limits. Availability can return limits per start date.
maxOccupancyMaximum number of guests.
startPrice, currencyDisplay starting price and its currency. Not a bookable price.
timeZoneIANA timezone of the property, when the PMS provides one.
statusACTIVE or INACTIVE.
ratingReview count and average, when available.
bedroomCount, bathroomCount, roomsLayout.
checkIn, checkOutArrival and departure windows, with start and end times in the property's local time.
houseRules, listingDetailsRules and descriptive sections from the PMS.
amenitiesMapped amenities grouped into categories.
tagsOnSeason tags on the listing.
unitsUnit records, when the source embeds them. List units always returns them.
createdAt, updatedAtWhen OnSeason created and last changed the content.

Status codes

StatusMeaning
200Listing returned.
400The listing ID or currency is invalid.
401The API key is missing or invalid.
404No listing with this ID is enabled for your channel.

On this page