offersUnion

View normalized Markdown

No description

graphql
offersUnion(
  after: String
  availabilityMode: OfferAvailabilityModeEnum = EXACT
  before: String
  dates: [DateRange!]
  dows: [Int!]
  eventTemplates: [IdOrNumber!]
  excludeCompletedFixedEvents: Boolean = false
  first: Int
  hours4: [Int!]
  includeProductIds: Boolean
  includeQuota: Boolean = true
  last: Int
  offerableTypes: [OfferableTypeEnum!]
  posId: ID!
  quantity: Int
  savedFilterId: ID
  span: TsRange
  spanOperator: RangeOperatorEnum = OVERLAP
  tags: [ID!]
  text: String
): OfferableUnionConnection! @deprecated

Arguments

offersUnion.after · String scalar

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

offersUnion.availabilityMode · OfferAvailabilityModeEnum enum

How availability of recurring offers is calculated.

offersUnion.before · String scalar

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

offersUnion.dates · [DateRange!] list scalar

Only offers on these dates. Offers without a date are always included.

offersUnion.dows · [Int!] list scalar

Only offers on these weekdays in local time: 0 is Sunday, 6 is Saturday. Offers without a date are always included.

offersUnion.eventTemplates · [IdOrNumber!] list scalar

Only offers of these event templates, by ID or number.

offersUnion.excludeCompletedFixedEvents · Boolean scalar

Whether to leave out dated events that have already ended.

offersUnion.first · Int scalar

Returns the first _n_ elements from the list.

offersUnion.hours4 · [Int!] list scalar

Only offers starting in these four-hour blocks in local time, given as the block start: 0, 4, 8, 12, 16 or 20. Offers without a date are always included.

offersUnion.includeProductIds · Boolean scalar

offersUnion.includeQuota · Boolean scalar

Whether to calculate remaining places. Pass false for faster listings that do not show availability.

offersUnion.last · Int scalar

Returns the last _n_ elements from the list.

offersUnion.offerableTypes · [OfferableTypeEnum!] list enum

Only offers of these types.

offersUnion.posId · ID! non-null scalar

For which POS should the quota information be calculated.

offersUnion.quantity · Int scalar

offersUnion.savedFilterId · ID scalar

offersUnion.span · TsRange scalar

Only offers whose time span matches this range, compared with spanOperator.

offersUnion.spanOperator · RangeOperatorEnum enum

How span is compared with offer time spans.

offersUnion.tags · [ID!] list scalar

Only offers with these tags.

offersUnion.text · String scalar

Free-text search across offers.

Type

OfferableUnionConnection object

The connection type for OfferableUnion.

Ready to Get Started?

Book a free demo or reach out — we’d love to hear from you.