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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

giftCardCreate Mutation

Creates a new gift card.

Requires one of the following permissions:MANAGE_GIFT_CARD

Triggers the following webhook events:

  • GIFT_CARD_CREATED (async): A gift card was created.
  • NOTIFY_USER (async): A notification for created gift card.

Applied directives

@webhookEventsInfo(asyncEvents: [GIFT_CARD_CREATED, NOTIFY_USER], syncEvents: [])
giftCardCreate(input: GiftCardCreateInput!): GiftCardCreate

Returns

GiftCardCreate

Show return type
type GiftCardCreate {
  giftCardErrors: [GiftCardError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [GiftCardError!]!
  giftCard: GiftCard
}

Arguments

input

input · GiftCardCreateInput!

Fields required to create a gift card.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?