|
offeringMerchantId
|
UUID!
|
A unique identifier for the merchant offering the specific deal or discount. This is a required field and must be a valid UUID.
|
|
offerId
|
UUID!
|
A unique identifier for the offer itself.
|
|
exclusiveRateId
|
UUID
|
The exclusive\_rate\_id for the offer. Only returned for type = EXCLUSIVE\_RATE\_OFFER. This value can be passed in to purchaseGiftCard to specify the exclusive rate you want to purchase with.
|
|
type
|
String!
|
Indicates the type of the offer. This could be a standard gift card offer or an exclusive rate offer.
|
|
deliveryFormat
|
DeliveryFormatType
|
Specifies how the gift card will be delivered to the user. Possible values: URL, CODES, PIN\_AS\_CODE, PIN\_WITH\_URL, CODE\_WITH\_PREFIX. This determines how the user will receive and redeem the gift card.
|
|
barcodeType
|
BarcodeTypeEnum
|
Specifies the barcode format for this offer. Possible values: NONE (no barcode - consider displaying faceplateUrl instead), C128 (Code 128), PDF417, QRCODE. Use this to determine whether to render a barcode in your UI.
|
|
hasStockInfo
|
Boolean
|
Specifies whether the offer includes stock information. If true, the stockInfo field will be populated with available denominations.
|
|
offerRates
|
\[OfferRate]
|
Represents the specific reward rates and conditions associated with an offer.
|
|
denominationsType
|
OfferDenominationType
|
Defines the type of denominations available for the offer. This field is used to specify how the offer's value is structured, such as fixed or variable denominations.
|
|
termsAndConditions
|
String
|
The terms and conditions text for this offer (legal language, restrictions, expiration policies). Use this to surface T\&C to end users before they purchase a gift card.
|
|
stockInfo
|
\[StockInfoType]!
|
StockInfo is a list of available denominations for a specific offer. It's only available if the offer hasStockInfo. This requires Fluz to confirm the inventory, response time varies by vendors. The stockInfo field will conditionally return info depending on the `VARIABLE` or `FIXED` type. To query for stockInfo, you will need to utilize an inline fragment using the `... on`keyword. This will return `StockInfoVariableType` if the denomination type is `VARIABLE` or `StockInfoFixedType` if the denomination type is `FIXED`.
For more detail, refer to the [How the GraphQL API works](/concepts/graphql) article.
|