Link Search Menu Expand Document

Experience Slot

object

Note: Experience slots are returned as part of an experience_slot_search or when using the experience_slot variable type. Not to be mistaken for a calendar slot.


Attributes

experience_slot.deposit

Deposit

The deposit for this slot’s experience. The returned deposit will consider this slot’s start_on when determining if the deposit is enabled for use.

experience_slot.end_on

timestamp

The date the slot ends on. This can then be used in conjunction with Liquid’s built-in filters.

experience_slot.end_time

string

The end time for this slot as a formatted time string in the current user’s locale. For example, “11:00” for English or “11:00AM” for American English.

This will return nil if the experience does not have a start time.

experience_slot.extras

array of Extras

An array of the date’s extras.

experience_slot.featured_variant

Variant

The “featured” variant. This will be the display variant for the date’s product or if none has been set, the variant with the cheapest per-person price, factoring in any promotions.

experience_slot.humanized_date_range

string

The dates of the experience slot as a formatted string. e.g. 15 November 2024 for an experience with a duration of less than or equal to one day. e.g. 15 - 20 November 2024 for an experience with a duration of more than one day.

experience_slot.id

string

The experience slot id.

experience_slot.payment_plan

Payment Plan

Returns a payment plan if one is available on this slot’s experience and the last payment date is before the slot’s start_on.

experience_slot.product

Product

The product that the date belongs to.

experience_slot.remaining_stock

number

The sum of remaining stock for a date’s variants. If any of the variants have infinite stock this will return nil.

experience_slot.shop_url

string

The url for the date’s cart shop page.

experience_slot.sold_out

boolean

Returns true if all stock for this date is sold out, i.e. all stock is sold or variants have been manually marked as ‘Sold Out’. Any slot in the past is also considered sold out.

experience_slot.start_on

timestamp

The date the slot starts on. This can then be used in conjunction with Liquid’s built-in filters.

experience_slot.start_time

string

The start time for this slot as a formatted time string in the current user’s locale. For example, “11:00” for English or “11:00AM” for American English.

This will return nil if the experience does not have a start time.

experience_slot.variants

array of variants

An array of the slot’s variants.