Skip to main content

GiftcardIntentCreateInput

Attributes for creating a giftcard intent

input GiftcardIntentCreateInput {
linkId: ID!
brandId: ID
collectionId: ID
storefrontId: ID
labelPromotionId: ID
commissionPromotionId: ID
utmData: CampaignUtmDataInput
isGift: Boolean!
isPhysical: Boolean!
amountCents: Int!
quantity: Int!
fundraiserId: ID
fundraiserIds: [ID!]
promotionId: ID
reloadThresholdCents: Int
deviceAttributes: IntentDeviceAttributesInput!
recaptchaToken: String
}

Fields

GiftcardIntentCreateInput.linkId ● ID! non-null scalar

ID of the link for the Intent

GiftcardIntentCreateInput.brandId ● ID scalar

ID of the brand for the Intent

GiftcardIntentCreateInput.collectionId ● ID scalar

ID of the collection for the Intent

GiftcardIntentCreateInput.storefrontId ● ID scalar

ID of the storefront for the Intent

GiftcardIntentCreateInput.labelPromotionId ● ID scalar

ID of the label_promotion_id for the Intent

GiftcardIntentCreateInput.commissionPromotionId ● ID scalar

ID of the commission_promotion_id for the Intent

GiftcardIntentCreateInput.utmData ● CampaignUtmDataInput input

The team's UTM parameters used for marketing and analytics

GiftcardIntentCreateInput.isGift ● Boolean! non-null scalar

Is gift card being purchased for someone else?

GiftcardIntentCreateInput.isPhysical ● Boolean! non-null scalar

Whether or not the gift card should be a physical or digital

GiftcardIntentCreateInput.amountCents ● Int! non-null scalar

Value of the giftcard to be purchased in cents

GiftcardIntentCreateInput.quantity ● Int! non-null scalar

Quantity of giftcards to be purchased

GiftcardIntentCreateInput.fundraiserId ● ID scalar

ID of the fundraiser for the Intent

GiftcardIntentCreateInput.fundraiserIds ● [ID!] list scalar

Array of fundraiser ids for bulk shops

GiftcardIntentCreateInput.promotionId ● ID scalar

ID of the promotion for the Intent

GiftcardIntentCreateInput.reloadThresholdCents ● Int scalar

The amount of money in cents, below which a giftcard will be reloaded

GiftcardIntentCreateInput.deviceAttributes ● IntentDeviceAttributesInput! non-null input

Information about the device making the intent

GiftcardIntentCreateInput.recaptchaToken ● String scalar

Google Recaptcha Enterprise token

Member of

GiftcardIntentCreate mutation