Link Search Menu Expand Document

Recommendation

object

Attributes

recommendation.cart

CartDrop

The cart associated with the recommendation.

recommendation.can_change_currency

boolean

Whether the current user is able to change the currency on this recommendation. This can be used to conditionally show the currency switcher on the recommendation page.

recommendation.checkout_url

string

This url will direct the user to checkout in order to purchase the recommendation.

recommendation.expired

boolean

Whether the recommendation has expired. Users can still visit the recommendation page if the recommendation has expired, but they will not be able to book it.

recommendation.guest_count

string

The guest count set on the recommendation. Note: This is an optional field and may not be set.

recommendation.hero_image

Image

The hero image of the recommendation.

recommendation.message

string

The message of the recommendation.

recommendation.name

string

The name of the recommendation.

recommendation.terms_and_conditions_url

string

The URL of the recommendation’s terms. If the recommendation has custom terms it will display those, otherwise it will default to the company’s terms.

recommendation.user_email

string

The guest email set on the recommendation. Note: This may not be the same as the user who books the recommendation.