Skip to main content

GiftcardIntent

A shopping trip that a user has made.

type GiftcardIntent {
buyerEmail: String
buyerName: String
campaign: Campaign
checkoutUrl: String!
createdAt: DateTimeISO!
currency: Currency!
deliveryEstimate: String!
giftcardTemplate: GiftcardTemplate
gifting: GiftSummaryType
giveAmount: DollarFormats
id: ID!
intentType: IntentTypeEnum!
isAnonymous: Boolean
isBeingReviewed: Boolean!
isGift: Boolean
isPending: Boolean!
isPhysical: Boolean
link: Link!
orderTotal: DollarFormats
quantity: Int
reloadSentence: String
reloadThreshold: DollarFormats
shipping: ShippingAddressType
shippingAmount: DollarFormats
shippingOption: ShippingOptionType
shippingOptions: [Select]
supportedAt: DateTimeISO
token: String!
unitPrice: DollarFormats
}

Fields​

GiftcardIntent.buyerEmail ● String scalar​

Email address of the buyer of the Giftcards

GiftcardIntent.buyerName ● String scalar​

Full name of the buyer of the Giftcards

GiftcardIntent.campaign ● Campaign object​

Information about the team being supported by the gift card

GiftcardIntent.checkoutUrl ● String! non-null scalar​

The URL to start the checkout

GiftcardIntent.createdAt ● DateTimeISO! non-null scalar​

When the intent was created

GiftcardIntent.currency ● Currency! non-null enum​

Currency of the Intent

GiftcardIntent.deliveryEstimate ● String! non-null scalar​

How soon will the card be delivered

GiftcardIntent.giftcardTemplate ● GiftcardTemplate object​

Giftcard template details for a intent.

GiftcardIntent.gifting ● GiftSummaryType object​

Details of the recipient of the giftcard is it's being sent as a gift

GiftcardIntent.giveAmount ● DollarFormats object​

The amount the team or user will receive upon purchase

GiftcardIntent.id ● ID! non-null scalar​

ID of the Intent

GiftcardIntent.intentType ● IntentTypeEnum! non-null enum​

IntentType of the Intent

GiftcardIntent.isAnonymous ● Boolean scalar​

Flag to determine whether of not to show the name and avatar of the buyer

GiftcardIntent.isBeingReviewed ● Boolean! non-null scalar​

Is the intent waiting for review?

GiftcardIntent.isGift ● Boolean scalar​

Flag to determine whether the Giftcard is being purchase for the buyer or someone else

GiftcardIntent.isPending ● Boolean! non-null scalar​

Is the intent waiting for giftcards to be generated?

GiftcardIntent.isPhysical ● Boolean scalar​

Flag to determine whether the Giftcard is physical or not

Information about the offer on the gift card

GiftcardIntent.orderTotal ● DollarFormats object​

Total net cost of the giftcard order

GiftcardIntent.quantity ● Int scalar​

Number of giftcards to be purchased

GiftcardIntent.reloadSentence ● String scalar​

A sentence describing when the intent's giftcard will be reloaded

GiftcardIntent.reloadThreshold ● DollarFormats object​

Giftcard's reload threshold

GiftcardIntent.shipping ● ShippingAddressType object​

Shipping information for the intent

GiftcardIntent.shippingAmount ● DollarFormats object​

Total gross cost of the order (unit price x quantity)

GiftcardIntent.shippingOption ● ShippingOptionType object​

Information for the selected shipping option

GiftcardIntent.shippingOptions ● [Select] list object​

Shipping options

GiftcardIntent.supportedAt ● DateTimeISO scalar​

When the intent was supported

GiftcardIntent.token ● String! non-null scalar​

Intent token

GiftcardIntent.unitPrice ● DollarFormats object​

Itemized cost of an individual gift cards

Returned by​

GiftcardIntent query

Implemented by​

BuyProcessUnion union ● BuyUpdateUnion union ● GiftcardIntentCreateUnion union ● ReloadIntentCreateUnion union