GiftCardEvent Object
History log of the gift card.
type 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
assignedTo: GiftCardEventAssignment
expiryDate: Date
oldExpiryDate: Date
}
Interfaces
Fields
id
id · ID!
ID of the event associated with a gift card.
date
date · DateTime
Date when event happened at in ISO 8601 format.
type
type · GiftCardEventsEnum
Gift card event type.
user
user · User
User who performed the action.
app
app · App
App that performed the action.
message
message · String
Content of the event.
email · String
Email of the customer.
orderId
orderId · ID
The order ID where gift card was used or bought.
orderNumber
orderNumber · String
User-friendly number of an order where gift card was used or bought.
tags
tags · [String!]
The list of gift card tags.
oldTags
oldTags · [String!]
The list of old gift card tags.
balance
balance · GiftCardEventBalance
The gift card balance.
assignedTo
assignedTo · GiftCardEventAssignment
The customer assignment change recorded by the event. Only set for ASSIGNED_TO_USER and UNASSIGNED_FROM_USER events.
Added in Saleor 3.23expiryDate
expiryDate · Date
The gift card expiry date.
oldExpiryDate
oldExpiryDate · Date
Previous gift card expiry date.
Used by
Schema: Saleor 3.23.43. Download SDL.