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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

giftCardUpdate Mutation

Update a gift card.

Requires one of the following permissions:MANAGE_GIFT_CARD

Triggers the following webhook events:

  • GIFT_CARD_UPDATED (async): A gift card was updated.

Applied directives

@webhookEventsInfo(asyncEvents: [GIFT_CARD_UPDATED], syncEvents: [])
giftCardUpdate(id: ID!, input: GiftCardUpdateInput!): GiftCardUpdate

Returns

GiftCardUpdate

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

Arguments

id

id · ID!

ID of a gift card to update.

input

input · GiftCardUpdateInput!

Fields required to update a gift card.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?