RequestItem

View normalized Markdown

A line of a cart or order: one offer with its quantities and prices.

graphql
type RequestItem {
  globalPersonalizations: Json!
  id: ID!
  offerable(posId: ID): OfferableUnion
  offerableId: ID
  offerableNameTranslated: String!
  offerableSpan: TsRange
  offerableSpanStr(
    dateFormat: String = "date_weekday_month_name"
    timeFormat: String = "time"
  ): String
  offerableTimeZone: String
  offerableType: OfferableTypeEnum
  pricings: [Pricing!]!
  relatedProducts: [Product!]!
  requiresWithdrawalEarlyStartConsent: Boolean!
  totalGrossValue: Money!
  totalValue: Money!
}

Fields

RequestItem.globalPersonalizations · Json! non-null scalar

Personalization answers that apply to the whole line.

RequestItem.id · ID! non-null scalar

ID of the cart line.

RequestItem.offerable · OfferableUnion union

The booked offer.

RequestItem.offerable.posId · ID scalar

For which POS should the quota information be calculated.

RequestItem.offerableId · ID scalar

ID of the booked offer.

RequestItem.offerableNameTranslated · String! non-null scalar

Name of the booked offer in the Accept-Language language.

RequestItem.offerableSpan · TsRange scalar

selected time span for offerable.

RequestItem.offerableSpanStr · String scalar

selected time span for offerable.

RequestItem.offerableSpanStr.dateFormat · String scalar

RequestItem.offerableSpanStr.timeFormat · String scalar

RequestItem.offerableTimeZone · String scalar

IANA time zone of the booked offer, for displaying offerableSpan in local time.

RequestItem.offerableType · OfferableTypeEnum enum

Type of the booked offer.

RequestItem.pricings · [Pricing!]! non-null object

Quantities and prices on this line.

products that are recommended for up and cross selling

Whether checkout needs the customer's consent to start this service before the withdrawal period ends. Include the item in withdrawalEarlyStartConsent.requestItemIds.

RequestItem.totalGrossValue · Money! non-null scalar

total price value including external taxes and discounts

RequestItem.totalValue · Money! non-null scalar

total price value including discounts

Member Of

Request object · RequestApplyCodePayload object · RequestItemCreatePayload object · RequestItemDiscardPayload object · RequestItemUpdatePayload object

Ready to Get Started?

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