Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

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

Node

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.

Requires one of the following permissions:MANAGE_USERSMANAGE_STAFFOWNER

app

app · App

App that performed the action.

Requires one of the following permissions:MANAGE_APPSOWNER

message

message · String

Content of the event.

email

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.23

expiryDate

expiryDate · Date

The gift card expiry date.

oldExpiryDate

oldExpiryDate · Date

Previous gift card expiry date.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on August 10, 2026

Was this page helpful?