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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

giftCardActivate Mutation

Activate a gift card.

Requires one of the following permissions:MANAGE_GIFT_CARD

Triggers the following webhook events:

  • GIFT_CARD_STATUS_CHANGED (async): A gift card was activated.

Applied directives

@webhookEventsInfo(asyncEvents: [GIFT_CARD_STATUS_CHANGED], syncEvents: [])
giftCardActivate(id: ID!): GiftCardActivate

Returns

GiftCardActivate

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

Arguments

id

id · ID!

ID of a gift card to activate.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?