Slot
object
Note: This is a slot accessed via calendar dates
. Not to be mistaken for an experience_slot
.
Attributes
slot.end_on
timestamp
The date the slot ends on. This can then be used in conjunction with Liquid’s built-in filters.
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.
slot.id
string
The ID of the experience slot.
slot.price
The price of this variant on this slot in the current user’s currency.
slot.product
The experience that this slot belongs to.
slot.remaining_stock
number
The remaining stock for this variant on this slot. It will return nil
if there is infinite stock.
slot.shop_url
string
The url for the cart shop page with this slot preselected.
slot.sold_out
boolean
This returns true if the variant is sold out on this slot.
slot.start_on
timestamp
The date the slot starts on. This can then be used in conjunction with Liquid’s built-in filters.
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.