Skip to main content

Occasion

An occasion

type Occasion {
aboutHeader: String
aboutParagraph: String
collections(
first: Int
after: String
last: Int
before: String
siteId: ID
currency: Currency
): CollectionConnection!
destination: Destination!
endDate: DateISO!
endTime: DateTimeISO!
heroBackgroundColor: String
heroHeader: String
heroHeaderColor: String
heroImage: String
heroPromoLabel: String
heroSubHeader: String
heroSubHeaderColor: String
id: ID!
showDaysLeft: Boolean!
squareHeroImage: String
startDate: DateISO!
startTime: DateTimeISO!
urlSlug: String!
}

Fields

Occasion.aboutHeader ● String scalar

Occasion's about header

Occasion.aboutParagraph ● String scalar

Occasion's about paragraph

Occasion.collections ● CollectionConnection! non-null object

A list of the occasion's collections

Occasion.collections.first ● Int scalar

Returns the first n elements from the list.

Occasion.collections.after ● String scalar

Returns the elements in the list that come after the specified cursor.

Occasion.collections.last ● Int scalar

Returns the last n elements from the list.

Occasion.collections.before ● String scalar

Returns the elements in the list that come before the specified cursor.

Occasion.collections.siteId ● ID scalar

The ID of the site that the collections can be scoped to

Occasion.collections.currency ● Currency enum

The currency of the links to return

Occasion.destination ● Destination! non-null object

Destination

Occasion.endDate ● DateISO! non-null scalar

Occasion's end date

Occasion.endTime ● DateTimeISO! non-null scalar

When occasion ends

Occasion.heroBackgroundColor ● String scalar

Occasion's hero background color

Occasion.heroHeader ● String scalar

Occasion's hero header

Occasion.heroHeaderColor ● String scalar

Occasion's hero header color

Occasion.heroImage ● String scalar

Occasion's rectangular hero image URL

Occasion.heroPromoLabel ● String scalar

Occasion's promo label

Occasion.heroSubHeader ● String scalar

Occasion's hero subheader

Occasion.heroSubHeaderColor ● String scalar

Occasion's hero subheader color

Occasion.id ● ID! non-null scalar

Occasion's ID

Occasion.showDaysLeft ● Boolean! non-null scalar

If the daysLeft should be shown

Occasion.squareHeroImage ● String scalar

Occasion's square hero image URL

Occasion.startDate ● DateISO! non-null scalar

Occasion's start date

Occasion.startTime ● DateTimeISO! non-null scalar

When occasion starts

Occasion.urlSlug ● String! non-null scalar

Occasion's Slug for use in URLs

Returned by

Occasion query

Member of

OccasionEdge object