Link Search Menu Expand Document

Date

object

Attributes

date.date

timestamp

The date.

date.display_price

price

The display price for this date in the current user’s currency.

This is determined by finding the cheapest variant that is available across the slots for this date, accounting for promotions.

The price used is the price of the variant at its maximum occupancy, not the per person price.

If an experience has a “display” variant defined, it will use the price of that variant and ignore prices of other variant from that experience.

date.experience

product

The experience associated with this date. If the date is associated with multiple experiences, this will return the first one.

This is a convenience method to be used when you know there is only one single experience. If it’s possible the date is associated with multiple experiences, date.experiences should be used instead.

date.experiences

array of products

The experiences associated with this date.

date.slot_count

number

The number of slots available on this date.

date.slots_by_variant

array of objects

This returns slot information grouped by variant. It will return an array of objects, each containing the following methods:

date.sold_out

boolean

This returns true if all variants are sold out across all slots on this date.