Accommodation

Accommodation merchandise on a product listing page.

Accommodation merchandise on a product listing page. A suggested place to stay shown alongside an experience. Not to be confused with the accommodation product type. Retrieved from product.accommodation.

Properties

country

The localised country name for the accommodation's country code.

Returns: String or nil — nil when no country code is set.

Whether the accommodation is marked as featured in the seller admin.

Returns: Boolean

id

The accommodation merchandise entry's unique identifier.

Returns: String — a UUID.

image

The accommodation's image.

Returns: ImageDrop

locale

A location label for the accommodation, shown alongside the country (e.g. a city or region). Labelled "Locale" in the seller admin.

Returns: String or nil

name

The accommodation's display name.

Returns: String

overview

The accommodation's overview description, as HTML.

Returns: String or nil

On this page