Skip to main content

GiftCardCreated Object

Event sent when new gift card is created.

type GiftCardCreated implements Event {
issuedAt: DateTime
version: String
issuingPrincipal: IssuingPrincipal
recipient: App
giftCard: GiftCard
}

Fields

GiftCardCreated.issuedAt ● DateTime scalar miscellaneous

Time of the event.

GiftCardCreated.version ● String scalar miscellaneous

Saleor version that triggered the event.

GiftCardCreated.issuingPrincipal ● IssuingPrincipal union miscellaneous

The user or application that triggered the event.

GiftCardCreated.recipient ● App object apps

The application receiving the webhook.

GiftCardCreated.giftCard ● GiftCard object gift-cards

The gift card the event relates to.

Interfaces

Event interface miscellaneous