GiftCardEvent
History log of the gift card.
Added in Saleor 3.1type GiftCardEvent implements Node {
id: ID!
date: DateTime
type: GiftCardEventsEnum
user: User
app: App
message: String
email: String
orderId: ID
orderNumber: String
tags: [String!]
oldTags: [String!]
balance: GiftCardEventBalance
expiryDate: Date
oldExpiryDate: Date
}
Fields
GiftCardEvent.id
● ID!
non-null scalar miscellaneous
ID of the event associated with a gift card.
GiftCardEvent.date
● DateTime
scalar miscellaneous
Date when event happened at in ISO 8601 format.
GiftCardEvent.type
● GiftCardEventsEnum
enum gift-cards
Gift card event type.
GiftCardEvent.user
● User
object users
User who performed the action.
GiftCardEvent.app
● App
object apps
App that performed the action.
GiftCardEvent.message
● String
scalar miscellaneous
Content of the event.
GiftCardEvent.email
● String
scalar miscellaneous
Email of the customer.
GiftCardEvent.orderId
● ID
scalar miscellaneous
The order ID where gift card was used or bought.
GiftCardEvent.orderNumber
● String
scalar miscellaneous
User-friendly number of an order where gift card was used or bought.
GiftCardEvent.tags
● [String!]
list scalar miscellaneous
The list of gift card tags.
GiftCardEvent.oldTags
● [String!]
list scalar miscellaneous
The list of old gift card tags.
GiftCardEvent.balance
● GiftCardEventBalance
object gift-cards
The gift card balance.
GiftCardEvent.expiryDate
● Date
scalar miscellaneous
The gift card expiry date.
GiftCardEvent.oldExpiryDate
● Date
scalar miscellaneous
Previous gift card expiry date.
Interfaces
Node
interface miscellaneous
An object with an ID
Member Of
GiftCard
object ● GiftCardAddNote
object